Check out example codes for "get arguments from url flask". It will help you in understanding the concepts better.

Code Example 1

from flask import request

@app.route(...)
def login():
    username = request.args.get('username')
    password = request.args.get('password')

Learn ReactJs, React Native from akashmittal.com