Skip to content Skip to sidebar Skip to footer

Sending Special Characters In Ajax POST And JSON

@SOLVED As explained by James M. Lay, I should change my content-type from application/x-www-form-urlencoded to application/json it implied in an error because it seems that only U

Solution 1:

im using the following and i have no issues

encodeURIComponent(JSON.stringify(object_to_be_serialised))

Post a Comment for "Sending Special Characters In Ajax POST And JSON"