Learn how to consume REST APIs using Guzzle, a PHP HTTP client that makes it easy to send HTTP requests and integrate with web services.
Overview
Syllabus
Introduction
- Welcome
- What you should know before watching this course
- Using the exercise files
- Guzzle and HTTP
- What is REST?
- Installing Guzzle
- Our first Guzzle request
- Sending basic requests
- Sending asynchronous requests
- Sending concurrent requests
- Sending query data
- Sending request data
- Advanced Guzzle request options
- Basic Guzzle responses
- Processing response headers
- Exceptions and Guzzle
- What is PSR-7?
- PSR-7 requests
- PSR-7 responses
- PSR-7 bodies
- PSR-7 headers
- PSR-7 streams
- PSR-7 middleware
- Basic Guzzle mock responses
- Advanced Guzzle mock responses
- Guzzle request testing
- Next steps
Taught by
Justin Yost