Curl/Bash code for GET Request Like Google Chrome ExampleThis Curl/Bash code snippet was generated automatically for the GET Request Like Google Chrome example.
<< Back to the GET Request Like Google Chrome example
What is GET request
The GET method is the most popular HTTP request method. The HTTP GET request method retrieves data from a specified URL. GET requests should only receive data and should not affect the server's state.
What is User-Agent?
The User-Agent header allows network protocol peers to identify the application name, operating system, vendor, and version of the client that sent the request. Your browser sends your User-Agen header to every website you access. Depending on the browser, the header field contains different data.
How to emulate requests from Google Chrome?
The User-Agent header indicates the name and version of the browser that made the request. For example, "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36" indicates that the request was sent by Google Chrome version 79.
GET Request like Google Chrome Example
The following is an example of a GET request like Google Chrome:
Server response to our GET request: