on-internet
← Community

GuzzleHTTP returns 404 on existing page

Stack Overflow ·

My Guzzle POST request to https://api.scarif.dev/auth gives back a 404, while the page exists through Postman, or browser, or javascript. It should return a 200 with a 401 message, but Guzzle gives back a 404. In both POST and GET mode that is. I've tried multiple Client setups, including different headers and disabling SSL verification, but without any success. Now I've copied the exact same headers that made it work in postman, but still no success. I've been searching through google and stackoverflow, but couldn't find an answer that fixed my problem. Request in PHP: <?php $client = new Cli

Comments

Sign in or sign up to comment and upvote.

No comments yet.