[LYNDA] CONSUMING RESTFUL APIS IN PHP WITH GUZZLE Leave a comment

Author
image of author Justin Yost

Justin Yost

Released

3/28/2017

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
Skill Level Intermediate

2h 12m

Duration

37,074

Views

Size: 362.62M

Leave a Reply