Skip to content Skip to sidebar Skip to footer

How Can I Stop HTTP From Escaping Quotes?

I'm using C# to POST some data to a webserver running PHP. I'm sending a JSON formatted object to the server in the POST data. The data looks something like this when it leaves the

Solution 1:

Setup your json_text object as follows, not quoting the property names and using single quotes instead:

json_text = { abc : 'hello', dfg : 'world' }


Post a Comment for "How Can I Stop HTTP From Escaping Quotes?"