title: Get URL fragment identifier with Flask
body: <p>My Flask program receives the following request with some data after the <code>#</code>:</p>
  
  <pre><code>https://som.thing.com/callback#data1=XXX&amp;data2=YYY&amp;data3=...
  </code></pre>
  
  <p>And I need to read the <code>data1</code> parameter, but this doesn't seem to work:</p>
  
  <pre><code>@app.route("/callback")
  def get_data():
      data = request.args.get("data1")
      print(data)
  </code></pre>