In Flask,requests from client can be handled like this For JSON Data
payload = request.get_json()
For token arguments
token = request.headers.get('Authorization')
For arguments
id = request.args.get('url', None)
What is the FastApi way of doing the same?