I’ve generated the json with delphi, but I forgot to convert to utf-8 before send it to the server. Usin curl for test, seems that I copied the json text bad encoded.
Now it works ok.
Thanks!
well, after some time of trial and error, I’ve found that if I send the json with the ” escaped, and without spaces, it works ok.
ej:
{\”name\”:\”CategoryOne\”} —> Ok
{\”name\”:\”Category One\”} —> Fail
{“name”:”CategoryOne”} —> Fail
Any ideas?
I know, but I get the same response no matter what json data is sent to the server. For example, this happens with the json I take from the docs.:
‘{
“name”: “Clothing”,
“image”: {
“src”: “http://demo.woothemes.com/woocommerce/wp-content/uploads/sites/56/2013/06/T_2_front.jpg”
}
}’
thanks