Question from the Symfony 6 test

How to make a HTTP request in Symfony