title: How to process GET Query String with Flask
body: <p>How do I process a long GET request with Flask? Is is possible to get a dictionary all the params? </p>
  
  <p>Here is the query string I'm trying to parse:</p>
  
  <pre><code>/?msisdn=19150000001&amp;to=12108054321&amp;messageId=000000FFFB0356D1&amp;text=This+is+an+inbound+message &amp;type=text&amp;message-timestamp=2012-08-19+20%3A38%3A23
  </code></pre>
  
  <p>And Here is the code I have to far which only gets the 'msisdn' value:</p>
  
  <pre><code>import os
  from flask import Flask
  from flask import request
  from flask import jsonify
  
  app = Flask(__name__)
  
  @app.route('/', methods=['GET'])
      def hello():
          if request.method == 'GET':
              json = request.args.getlist('msisdn')
              return str(json)
          else:
              return 'Hello World!'
  </code></pre>