title: Is it possible to call dash application with http request and pass there some data?
body: <p>Is it possible to call the dash application with HTTP requests and pass some data in the requests body?</p>
  <p>I have application <code>app1</code> under the link:  <code>http://127.0.0.1:8050/app1</code>.</p>
  <p>I tried to call this <code>url</code> with the python requests module like below:</p>
  <pre><code>import requests
  import json
  
  payload = {'download': True}
  
  
  def make_request():
      url = &quot;http://127.0.0.1:8050/app1&quot;
      r = requests.get(url, data=json.dumps(payload))
      print(r.request.__dict__)
  </code></pre>
  <p>When my server is running and I do <code>make_request()</code> then in my response I get all content with HTML that contains my app and in the response of my request I can see that my data is properly sent in requests body:</p>
  <pre><code>{'_body_position': None,
   '_cookies': &lt;RequestsCookieJar[]&gt;,
   'body': '{&quot;download&quot;: true}',
   'headers': {'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '18'},
   'hooks': {'response': []},
   'method': 'GET',
   'url': 'http://127.0.0.1:8050/app1'}
  
  </code></pre>
  <p>But on the server side, I can't see that the user called the <code>app1</code> endpoint with get requests. I tried to print in my app <code>print(flask.request)</code> but it doesn't print anything. It seems that nothing happened on server side.</p>
  <p>Is it somehow possible to make get requests <code>from the outside</code> and get this information inside the server? Because if I just go to a web browser and pass there 'http://127.0.0.1:8050/app1' I see in server flask.request.</p>