In Flask, requests from client can be handled as follows.
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?