How to make a jsonp POST request that specifies contentType with jQuery?

It is not possible to make a JSONP POST request.

It is not possible to make a JSONP POST request. JSONP works by creating a tag that executes Javascript from a different domain; it is not possible to send a POST request using a tag.

If I leave out the contentType, the request is made and the server gets it as a POST. – Marcus Oct 5 '10 at 0:40 3 Yeah, jQuery falls back to XMLHttpRequest as you can't POST via inclusion. But that means the JSONP response will never work; if it's coming from a different hostname you won't be able to read anything from the response due to the Same Origin Policy.

Inclusion can only trigger a GET, any data you want to send to it must go in URL query parameters. – bobince Oct 5 '10 at 1:19 Makes sense, thanks for the explanation. – Marcus Oct 5 '10 at 16:40.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions