user-agent tagged requests and articles

Categorized request examples and articles tagged with [user-agent] keyword
How to set the User-Agent string in Curl?
You can use the -A or --user-agent command-line option to pass your User-Agent string to Curl. By default, Curl sends its User-Agent string to the server in the following format: "curl/version.number". For example, when you use the Curl tool version 7.54.1, it sends the "User-Agent: curl/7.54.1" HTTP header to the server. In this User-Agent Curl example, we send a custom User-Agent string to the ReqBin echo URL using the -A command line option. Click Run to execute the Curl User-Agent example online and see the results.