How to extract exact request Potman executes in the back? I am currently trying to reverse engineer an API and through postman the request suceeds but when I copy the cURL and run it Amazon CloudFront blocks me with a 403 error.
The request that Postman sends should be viewable in the console logs.
This should be your first point of call when comparing to cURL.
Open the Postman Console, send the request, and check exact header and cookies Postman is using. Then compare it with your cURL version CloudFront usually blocks you because something like a header, cookie, or token is missing. Add those to your cURL and it should work fine. Hope this helps ![]()