CRUD using PHP, MySQL & Rest API for Android

Views: 37 URL Method Parameter http://192.168.101.1/HeroApi/v1/Api.php?apicall=createhero POST name, realname, rating, teamaffiliation http://192.168.101.1/HeroApi/v1/Api.php?apicall=getheroes GET http://192.168.101.1/HeroApi/v1/Api.php?apicall=updatehero POST id, name, realname, rating, teamaffiliation http://192.168.101.1/HeroApi/v1/Api.php?apicall=deletehero&id=idvalue GET Ref : https://www.simplifiedcoding.net/android-mysql-tutorial-to-perform-basic-crud-operation/ Sample Code : Download Source

API for WooCommerce Wishlist Plugin

Views: 375Creating API for WooCommerce Wishlist Plugin URL : https://wordpress.org/plugins/ti-woocommerce-wishlist/ Idea of Creation Referring Table : wp_users for user created, to retain the ID AutoGenerated,Once the user is created or registered, Table ‘wp_tinvwl_lists’ autocreates data, Wishlist datas stored at Table ‘wp_tinvwl_items’ But here we are creating separate table for it. Used this for getting datas @ https://snippets.sndynamicsit.com/convert-data-from-mysql-to-json-format-using-php/