Skip to content

4xx Status Codes #33

Answered by code-poel
code-poel asked this question in Q&A
Mar 22, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

After some digging around the Guzzle documentation, it became clear that Guzzle handles 4xx responses slightly differently.

You'll need to pass into the Request options parameter 'http_errors' => false in order to see these responses and handle them yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@code-poel
Comment options

Answer selected by code-poel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant