Nikhil Joshi

Sharing Knowledge !

Creating API for mobile is super easy now in PHP — June 11, 2015

Creating API for mobile is super easy now in PHP

Hi All,

Today I am going to demonstrate that creating an API (with no authentication) is very easy using PHP.

You require

1. PHP web hosting with MySQL support.
2. Very basic knowledge of PHP.

In this example I have used both JSON and XML response types. Default return type is JSON, if you want XML response add type parameter to your URl e.g.(api.php?type=xml)

To start with creating API you first will need a MySQL database. In case of our example we will be creating a databsae

Continue reading

Advertisements
Merry Christmas — December 25, 2014

Merry Christmas

Hi and wish you all Merry Christmas. May god shower you with all the happiness throughout the year. Thanks to all who were with me for this whole years of journey and will be with me for all the years in future.

 

%d bloggers like this: