I am using flask and want to create a url which is a post request and contains "username" and "password" as a string in url
@app.route('/login/<username>/<password>')
def login(username,password):
return password
My Url should look like this
But the problem is that password is truncated to "iamuser##123" to "iamuser" , How can I pass the full passowrd as string.
@app.route('/login/<username>/<string:password>')
But still it is returning "iamuser" . Can anyone resolve this issue so that I could pass any string to the url. I do not want to use the form for posting the request