13 May 2018

How to consume or call REST API in PHP

REST API call in PHP

It was very tough days for me after developing RESTful Web service in PHP using SLIM framework, I was excited to use it in my PHP project itself like we consume REST API in Android development. But I have no idea how can I consume or call REST API from my PHP project. 

I searched and talk to PHP developer friends a lot but there is no luck because all suggesting to me to use framework for this. But I want to use it into PHP core for better understanding. Because I have no background in PHP, I am an Android Application Developer. I learn PHP for fun or my own project. 

I learn a lot in this process. The solution lies inside PHP itself. Php has a library which is called cURL, used in calling RESTful web service or REST API.

5 May 2018

How to develop PHP web service part 3: Connecting to Database and get result in JSON formate

In both previous tutorials, I am talking about basics. How you can set up PHP web service or REST API development setup, basic REST API call, etc. In this tutorial, I am going to share with you how you can connect to the database, execute queries, and get results in JSON format in RESTful API. So without wasting time let's start our study.

rest api or web services development using php slim framework image

You haven't read my previous tutorial then read them by the following link


How to develop php web service part 1:Basic set-up for development

4 May 2018

How to save WhatsApp status pictures or videos on our Android mobile

After a long time. I have come with a very interesting topic today. We all use WhatsApp for chatting, calling and more. Our friends which are connected to us on Whatsapp also post their status.

download whatsapp status in android mobile image

Ads Inside Post