Access denied for some user agents #22
Replies: 3 comments
-
Amazon.com will reject a request with a 503 code when using a curl request with no specified user agent as shown below
However, adding the -A flag with "Mozilla" as a user agent will result in a 200.
|
Beta Was this translation helpful? Give feedback.
-
geekforgeeks.com will deny the request with 403 status code when using a curl request with no specified user agent as shown below HTTP/1.1 403 Forbidden ' ' ' ' However, adding "Mozilla" as a user agent will result in a 200. HTTP/1.1 200 OK ' ' ' ' |
Beta Was this translation helpful? Give feedback.
-
Carvana will reject a request without a user agent
But will accept the request when using a user agent
|
Beta Was this translation helpful? Give feedback.
-
Find an example "in the wild" where the access to the resource is denied by default when using cURL, but not when specifying a different user agent (e.g.,
-A "Mozilla"
).Beta Was this translation helpful? Give feedback.
All reactions