In this tutorial learn how to create an REST API for android or IOS/iphone application in php let's go with step by step.
API Tutorial
STEP 1 : create table in database, if you don't have database please create it.
API Tutorial
STEP 1 : create table in database, if you don't have database please create it.
CREATE TABLE IF NOT EXISTS `categories` (`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,`details` text COLLATE utf8mb4_unicode_ci NOT NULL,`created_at` timestamp NULL DEFAULT NULL,`updated_at` timestamp NULL DEFAULT NULL,PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ;