JQuery: Wrong form data encoding in AJAX request – Jquery ajax
I am trying execute this simple AJAX request with JQuery: const data = new FormData(); data.append("foo", "bar"); $.ajax({ url: "http://localhost:8080/example", type: "post", data: data, processData: false }); I check request by Google Chrome developer tools. I see that Content-type is…