linux curl command to get response from api code example Example: linux curl get request curl https://example.com/index.php?username=luffy&loggedin=true