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

PUT Not Working #13

@jmawebtech

Description

@jmawebtech

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions