Want to learn more about curl? Learn curl by example.
curl -X GET \ -H "user-agent: testing-echo" \ "https://echo.onlineornot.com"