title: What is the equivalent FastApi way to do request.json() as in Flask
body: <p>In Flask,requests from client can be handled like this
  For JSON Data</p>
  <p><code>payload = request.get_json()</code></p>
  <p>For token arguments</p>
  <p><code>token = request.headers.get('Authorization')</code></p>
  <p>For arguments</p>
  <p><code>id = request.args.get('url', None)</code></p>
  <p>What is the FastApi way of doing the same?</p>