headers \u0027content-type\u0027 \u0027application/x-www-form-urlencoded\u0027 in angularjs
Now lets see how we can do application/x-www-form-urlencoded encoding in Java language. If you look at the java.net package, you will see two classes related to URL encoding: java.net.URLEncoder - This class contains static methods for converting a String to the Type search string and press Enter. 0 solutions.
type: "POST", url: "./Service.asmx/PostAutomaticRule", data: myObject: formData , contentType: "application/json charsetutf-8"