title: Writing a GET request that takes multiple query paramters
body: <p>I am writing a GET request that takes three query paramters in the end of the URL</p>
  
  <p>Now a URL in my list of urls is </p>
  
  <pre><code>(r'/v1/random/data?{}' .format(urllib.urlencode(args)) , 'GET', getResource),
  </code></pre>
  
  <p>The method getResource redirects to a class where the parameters are to be extracted from the URL
  I have printed the local variables using locals() in that particular method and they are as such</p>
  
  <pre><code>{'res': {}, 'args': 'data', 'uri': '/v1/random/data', 'entities': ['', 'v1', 'random', 'data'] }
  </code></pre>
  
  <p>The curl request for the above output is </p>
  
  <pre><code>curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://&lt;ip&gt;:&lt;port&gt;/v1/&lt;random&gt;/data?param1=1&amp;param2=2
  </code></pre>
  
  <p>I want to be able to extract the parameters param1 and param2 from my curl request. How should I implement this in Python ?</p>
  
  <p>IF you dont understand the error above, I want to create an API in python such that</p>
  
  <pre><code>curl "http://localhost:5000/pulse/?lat=41.225&amp;lon=-73.1"
  </code></pre>
  
  <p>that is able to accept two values in a GET request</p>