xxxxxxxxxx
curl -X GET "http://localhost:5000/locations?id=3"
xxxxxxxxxx
# Make sure you surround the URL with quotes or double quotes. Examples
curl 'https://yourdomain.com/path?param1=abc¶m2=cde'
# Is the same as below. Note that you an use variable when using ""-s
my_var=10
curl "https://yourdomain.com/path?param1=abc¶m2=${my_var}"