How do I change header to application/json

Get help using Construct 2

Post » Wed Jul 23, 2014 12:58 am

I'm currently trying to pass a json data, and i want to change my ajax request header to application/json. This is waht i keep getting on my server Content-Type: application/x-www-form-urlencoded, application/json.
I used the ajax action of set request header, but it seems to be appending or so. How do i fix this, i only want the application/json, because django is still seeing it as a form
B
15
S
4
Posts: 138
Reputation: 2,003

Post » Wed Jul 23, 2014 9:33 am

Bump
B
15
S
4
Posts: 138
Reputation: 2,003


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Laura_D and 11 guests