Arrest-MySQL icon indicating copy to clipboard operation
Arrest-MySQL copied to clipboard

PUT Not Working

Open jmawebtech opened this issue 11 years ago • 0 comments

Hi,

I did a GET request (cheaparoma.com/roue/wp_mp_products/196) and I have these fields:

{"id":"196","site_id":"1","blog_id":"63","blog_public":"1","post_id":"836","post_author":"1","post_title":"Mad Hatter (15g)","post_content":null,"post_permalink":"http://madhatterkush.com/store/products/mad-hatter-15g/","post_date":"2013-08-11 23:36:36","post_date_gmt":"2013-08-11 23:36:36","post_modified":"2013-08-11 23:36:36","post_modified_gmt":"2013-08-11 23:36:36","price":"0.00","sales_count":"0"}

I did a PUT with {"sales_count": "0"} to cheaparoma.com/roue/wp_mp_products/196 and I receive

MySQL Error:

Unknown column '{"sales_count":"0"}. What am I doing wrong?

jmawebtech avatar Mar 05 '14 20:03 jmawebtech