Companies Home Search Profile

Consuming a REST API with Guzzle and PHP

Focused View

Annapurna Agrawal

1:26:45

94 View
  • 00. Course Overview.mp4
    01:53
  • 00. Recalling REST and HTTP.mp4
    06:43
  • 01. Why Guzzle over cURL - .mp4
    04:06
  • 02. Installing Guzzle.mp4
    02:16
  • 03. Creating First Guzzle Request.mp4
    04:58
  • 00. Making Basic Requests.mp4
    05:40
  • 01. Making Asynchronous Requests.mp4
    05:26
  • 02. Sending Concurrent Requests.mp4
    08:59
  • 00. Using Query String Parameters.mp4
    04:17
  • 01. Sending Form Field Data.mp4
    05:34
  • 02. Using Cookie Request Option.mp4
    04:35
  • 00. Fetching Basic Guzzle Response.mp4
    06:37
  • 01. Processing Response for Globomantics Media.mp4
    04:06
  • 02. Handling Exceptions during Request Transfers.mp4
    04:14
  • 00. What Is PSR-7 - .mp4
    03:13
  • 01. PSR-7 Requests, Responses, and Headers.mp4
    07:38
  • 02. PSR-7 Body and Streams.mp4
    05:34
  • 03. Summary.mp4
    00:56
  • Description


    Guzzle is an HTTP client that provides methods which make sending HTTP requests, processing the response, and interacting with web services easy. It provides a very clean API, uses PSR-7 interfaces, and has built-in unit testing support.

    What You'll Learn?


      Guzzle is an HTTP client that makes the interaction with the web services easy. It provides methods which make sending HTTP requests and processing the responses easy, and it can be used instead of cURL. While cURL is one of the most adapted tools for the interaction with APIs, there are benefits of using Guzzle over cURL. For example, Guzzle provides a very clean API to work with, is very well documented, and has built-in unit testing support - which cURL doesn't have. All in all, guzzle provides a comparatively cleaner and easier way to mock the HTTP layer. Besides all this, guzzle uses the PSR-7 interface, so you can use any library that implements the PSR-7 standards with Guzzle. This course, Consuming a REST API with Guzzle and PHP, will teach you how to use Guzzle to consume REST APIs, including how you can use Guzzle to create synchronous and asynchronous requests, how to deal with exceptions, and how to process the response and headers. It will also give an insight into using the PSR-7 standard with Guzzle. By the time you're finished with this course, you'll feel confident using Guzzle in your applications.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Annapurna Agrawal
    Annapurna Agrawal
    Instructor's Courses
    Annapurna is a full stack developer, who has now been playing around with Kotlin, PHP, jQuery, CSS, and HTML. She is a software engineer from India and likes teaching and has years of experience in web and mobile development. She is one of the trainers in the Google Developers Group at Bhubaneswar, Odisha in India and also the lead of the Google WomenTechMaker Group Bhubaneswar. Besides all this, she practices yoga and meditation, YouTubing, and hanging out with friends. You are definitely going to get the best of quality here from her. Stay tuned and keep smiling!
    Pluralsight, LLC is an American privately held online education company that offers a variety of video training courses for software developers, IT administrators, and creative professionals through its website. Founded in 2004 by Aaron Skonnard, Keith Brown, Fritz Onion, and Bill Williams, the company has its headquarters in Farmington, Utah. As of July 2018, it uses more than 1,400 subject-matter experts as authors, and offers more than 7,000 courses in its catalog. Since first moving its courses online in 2007, the company has expanded, developing a full enterprise platform, and adding skills assessment modules.
    • language english
    • Training sessions 18
    • duration 1:26:45
    • level average
    • English subtitles has
    • Release Date 2023/10/11