Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

PUT Not Working #13

Open
jmawebtech opened this issue Mar 5, 2014 · 0 comments
Open

PUT Not Working #13

jmawebtech opened this issue Mar 5, 2014 · 0 comments

Comments

@jmawebtech
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant