Arrest-MySQL
Arrest-MySQL copied to clipboard
A "plug-n-play" RESTful API for your MySQL database.
Hi, I want to pull this record: {"meta_id":"179040","post_id":"122","meta_key":"_stock","meta_value":""} From here: http://cheaparoma.com/roue/wp_postmeta/[meta_id]=179038 Is my URL syntax right? How do I perform a get request with a particular column?
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...
I am going to use Arrest-MySQL in a project where I need to use the RESTful interface for an HTML form with autocomplete. I now only have the option to...
Hi, The API does not support multi column primary keys. Is there a way to work with this still without changing the database? Example: $arrest->set_table_index('part', 'system','part number'); or $arrest->set_table_index('lulz_stash_console_part', array('system','part...
As in title: Using verbose, the 404 message does not specify which table was selected and not showing the message the subdir paramter could be configured in the index.php file.
Instead of having to specify the primary key field of a table manually for every table, could it be auto detected instead?