Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Use a REST API from PHP Using cURL - Full PHP cURL API Tutorial

Dave Hollingworth via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches how to use cURL in PHP to call REST APIs. It covers headers, JSON encoding and decoding, endpoints, request methods, cURL options, and HTTP status codes.

Syllabus

Introduction
PHP cURL basics
Add request headers
Get a string response
Decode JSON
Endpoints with IDs
Setting endpoints
Multiple cURL options
POST requests
HTTP status code
PATCH requests
DELETE requests
Outro

Taught by

Dave Hollingworth

Reviews

Start your review of How to Use a REST API from PHP Using cURL - Full PHP cURL API Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.