I\'m building a PHP RESTful API, following this tutorial. The following function, which should return the data sent with the request when the \'put\' method is used, returns
{ "action":"get_events_by_category", "category_id":2 }
Your row string data must be a Double quote "" not use single ''