Computer EngineeringComputer Information SystemsComputer NetworkingComputer ScienceComputing & Information TechnologyCybersecurity

Consuming RESTful APIs in PHP with Guzzle

Guzzle—a PHP HTTP client—provides a simple interface for sending HTTP requests and receiving responses. In this course, learn how to write code using Guzzle to consume RESTful APIs. Instructor Justin Yost shows how to install Guzzle, send basic, asynchronous, and concurrent requests, and process responses, headers, and exceptions. He also shows how Guzzle works with PSR-7, the PHP community-provided specification that defines interfaces for HTTP messages. Plus, Justin shows how to test basic and advanced Guzzle mock responses.

Learn More