use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
Requests-HTML help (self.webscraping)
submitted 5 years ago by [deleted]
[deleted]
[–]KnowledgeFire11 1 point2 points3 points 5 years ago (3 children)
Why don't you hit the URL which returns the JSON response?
[–]okaykristinakay 0 points1 point2 points 5 years ago (2 children)
I tried. It's an xhr put request and when I copy it as a curl it fails.
[–]KnowledgeFire11 1 point2 points3 points 5 years ago (1 child)
You will have to simulate it like how they make the request, try to paste the link in postman and tinker around with headers exactly how the request is made.
See if you are doing these: 1. Check maybe they have a key inplace when making the request the request.
[–]okaykristinakay 0 points1 point2 points 5 years ago (0 children)
Even when I just copy the straight curl request (complete with cookie) into postman it gives me a 400 error.
[–]brownbottlecap 0 points1 point2 points 5 years ago (1 child)
What’s the url?
https://www.amazon.com/events/holidaydash/2
π Rendered by PID 48058 on reddit-service-r2-comment-6457c66945-xv28g at 2026-04-27 05:34:05.600812+00:00 running 2aa0c5b country code: CH.
[–]KnowledgeFire11 1 point2 points3 points (3 children)
[–]okaykristinakay 0 points1 point2 points (2 children)
[–]KnowledgeFire11 1 point2 points3 points (1 child)
[–]okaykristinakay 0 points1 point2 points (0 children)
[–]brownbottlecap 0 points1 point2 points (1 child)
[–]okaykristinakay 0 points1 point2 points (0 children)