Title: cregonat's Replies | WordPress.org

---

# cregonat

  [  ](https://wordpress.org/support/users/cregonat/)

 *   [Profile](https://wordpress.org/support/users/cregonat/)
 *   [Topics Started](https://wordpress.org/support/users/cregonat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cregonat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cregonat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cregonat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cregonat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cregonat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] problem with REST Api](https://wordpress.org/support/topic/problem-with-rest-api-2/)
 *  Thread Starter [cregonat](https://wordpress.org/support/users/cregonat/)
 * (@cregonat)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rest-api-2/#post-9627725)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] problem with REST Api](https://wordpress.org/support/topic/problem-with-rest-api-2/)
 *  Thread Starter [cregonat](https://wordpress.org/support/users/cregonat/)
 * (@cregonat)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rest-api-2/#post-9624674)
 * 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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] problem with REST Api](https://wordpress.org/support/topic/problem-with-rest-api-2/)
 *  Thread Starter [cregonat](https://wordpress.org/support/users/cregonat/)
 * (@cregonat)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rest-api-2/#post-9624256)
 * 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&#8221](http://demo.woothemes.com/woocommerce/wp-content/uploads/sites/56/2013/06/T_2_front.jpg&#8221);}}’
 * thanks

Viewing 3 replies - 1 through 3 (of 3 total)