YoVDO

Consuming RESTful APIs in PHP with Guzzle

Offered By: LinkedIn Learning

Tags

PHP Courses HTTP Requests Courses

Course Description

Overview

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.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Guzzle Basics
  • Guzzle and HTTP
  • What is REST?
  • Installing Guzzle
  • Our first Guzzle request
2. Requests with Guzzle
  • Sending basic requests
  • Sending asynchronous requests
  • Sending concurrent requests
  • Sending query data
  • Sending request data
  • Advanced Guzzle request options
3. Responses with Guzzle
  • Basic Guzzle responses
  • Processing response headers
  • Exceptions and Guzzle
4. Guzzle and PSR-7
  • What is PSR-7?
  • PSR-7 requests
  • PSR-7 responses
  • PSR-7 bodies
  • PSR-7 headers
  • PSR-7 streams
  • PSR-7 middleware
5. Testing and Guzzle
  • Basic Guzzle mock responses
  • Advanced Guzzle mock responses
  • Guzzle request testing
Conclusion
  • Next steps

Taught by

Justin Yost

Related Courses

Introduction to Functional Programming
Delft University of Technology via edX
Introduction to Office 365 Development and APIs
Microsoft via edX
Web Development and Design using Wordpress
California Institute of the Arts via Kadenze
Build a Basic PHP Website Course (How To)
Treehouse
Web Applications for Everybody
Independent