I am using curl to make a request to a Flask route that expects multiple query params. However, the log shows only the first param in the url, and Flask doesn\'t see the second
See Bidhan's comment here. I was using curl
without putting my URL inside double quotes.
To quote:
If you're using curl then you need to pass the url inside of quotes. It should look like
curl "localhost:5000/path?param1=1¶m2=2"
. In the shell, & is used for forking processes and doesn't behave like you would expect it to. – Bidhan A