How do I send JSON to server instead of HTTP parameters/variables?
How do I send JSON to server instead of HTTP parameters/variables?
dhutton@creativeone.com
Posts: 59Questions: 15Answers: 0
I have a database that sends and receives JSON and is not configured to parse data in editors default form.
(for example: data[0][extn] = 2947)
I keep getting error code 415 (Unsupported Media Type)
How can I convert the data to JSON before making my ajax call?
This discussion has been closed.
Answers
Hi @dhutton@creativeone.com ,
You can modify the Ajax payload in
ajax.data
,Cheers,
Colin