This APi will provide data in Json format. Please run .sql to create table and insert data. PHP5/7 Mysql
API Call:
http://127.0.0.1/simpleapi/API_JSON.php?id=1
Expected Response :
[{"id":"1","name":"Aniket","occupation":"Worker","city":"Mumbai","sex":"Male","age":"28"}]