Lynda - Consuming RESTful APIs in PHP with Guzzle
Size: 366 MB | Duration: 2h 12m | Video: AVC (.mp4) 1280x720 15&30fps | Audio: AAC 48KHz 2ch
Genre: eLearning | Level: Intermediate | Language: English
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.
Topics include:
* Installing Guzzle
* Sending basic requests
* Sending asynchronous requests
* Sending concurrent requests
* Sending query data
* Sending request data
* Advanced Guzzle request options
* Reviewing basic Guzzle responses
* Processing response headers
* Reviewing PSR-7 requests, responses, bodies, and headers
发布日期: 2017-03-29