Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
825
restSettings contentType x-www-form-urlencoded not working
posted

I am attempting to send updates to the service using the following restSettings:

            contentType: "application/x-www-form-urlencoded; charset=UTF-8"

The service says its a bad request. Using an HTTP proxy I am able to look at the body of the request, which is JSON:

{"id":"20026","name":"John Smith"}

I would have expected:

id=20026&name=John%20Smith

Does the grid support contentType application/x-www-form-urlencoded? If so, any guesses what I'm doing wrong?

Thanks!

Parents Reply Children