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 param. What is going wrong?
@app.route('/path', methods=['GET'])
def foo():
print request.args.get('param2')
req = request.args.items()
print req
curl http://localhost:5000/path?param1=1¶m2=2
127.0.0.1 - - [01/Jun/2015 21:35:10] "GET /path?param1=1 HTTP/1.1" 200 -
None
[('param1', u'1')]