Answer the question
In order to leave comments, you need to log in
How does the server differentiate a curl request from a nodejs request?
There are two identical requests via http1.1 - one via curl, the other via node.js request.
The first one is successful and the server returns html, the second one is banned by the server and access denied is returned.
Curl variant :
https://pastebin.com/NfwDRJdu
Nodejs variant:
https://pastebin.com/maCFgkX4
Requests are sent from one American cloud server.
Why is this happening?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question