linux curl get request code example
Example 1: curl get example
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
Example 2: linux curl get request
curl https://example.com/index.php?username=luffy&loggedin=true