How do I check what user agent curl is using? -
I'm trying to use curl to monitor the contents of the page provided by a remote HTTP server (which is my There is very little control over the over), and for some reason the server is returning different results, depending on which machine I'm running I suspect that this user may be curl on each machine due to the difference in string Is being used.
How do I check (not set) User Agent String Curl Remote server is sending in your HTTP request
Use the option to see all the headers sent by curl, in which '& gt; Which means "Header data" sent by curl For example: user-agent :
$ curl --verbose 'http://www.google.com / '& Gt; GET / HTTP / 1.1 & gt; User-agent: Curl / 7.37.0 & gt; Host: www.google.com & gt; Accept: * / *
Comments
Post a Comment