PHP REST API

PHP & REST API Tutorial to learn PHP & REST API online for free.

REST and other APIs are used to provide communication between two systems over the network. Therefore, using REST (stands for Representational State Transfer) you can create, read, update or delete information between different applications over the internet or HTTP protocol.

This Tutorial covers HTTP GET, (PUT) CREATE, DELETE, POST (UPDATE) operations using PHP cURL library functions. JSON & XML are two popular data interchange formats.

In this online PHP & REST API training course, we will use dummy REST API to perform CRUD operations using Simple PHP programs

PHP : REST API – Introduction

In this tutorial, we will learn about PHP & REST APIs. REST API provides communication over network using multiple standards like HTTP, JSON, cURL, and XML.

PHP: REST API – file_get_contents()

There are two popular methods to fetch REST API data in PHP. Either you can use PHP built-in function file_get_contents() or use CURL commands. Working with JSON data in API XML &…

PHP : REST API – GET data using cURL

In this tutorial, we will learn how to GET API data using cURL functions. What is cURL? cURL (stands for client URL) is a command-line tool to transfer data between servers. It…

PHP : REST API – POST data using cURL

In this tutorial, we will learn how to POST API data using cURL functions. An HTTP POST is often used to create new content. If you are not familiar with basic cURL…

PHP : REST API – PUT (Update) data using cURL

In this tutorial, we will learn how to use HTTP PUT to update REST API data using cURL functions. If you are not familiar with basic cURL process and functions, read the…

PHP : REST API – DELETE data using cURL

In this tutorial, we will learn how to DELETE some REST API data using cURL functions in PHP. If you are not familiar with basic cURL process and functions, read the previous…