curl query parameters code example Example: curl query parameters curl -X GET "http://localhost:5000/locations?id=3"