HTTP

Symfony

Published on 2022-02-12 • Modified on 2022-02-12

In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client and test it with or without mock.

subject Read the full post


Symfony

Published on 2019-01-29 • Modified on 2020-04-10

In this post, we will review one of the most used and useful service (in fact it's a value object) provided by Symfony which is the Request service Is is part of the HttpFoundation component. Symfony is indeed a "Request/Response" framework. It will be interactive, that means that you will be able to change the URL used in the examples and provide your one so you can test with different parameters. It will, therefore, save you manual dump() calls. 😉

subject Read the full post