Well, here is the story:
I have some data need to send to server, but they should turned into JSON dataType first.
I made such ajax call:
I agree the data must be converted into a JSON string, not only to agree with the dataType and contentType setup but more importantly, to satisfy the server.
dataType
contentType
data: JSON.stringify(data), dataType:'json'