title: GAE Python Make a GET request via submit button
body: <p>There is an API that requires the following request header:</p>
  
  <pre><code>Accept: application/json
  </code></pre>
  
  <p>And on the website, it says it uses REST protocol and GET HTTP method.
  I'm currently using Google App Engine (with Python) and trying to make a simple form where user types in the coordinates and when they click on the submit button, it fetches the weather information. How do I add this to the header?</p>
  
  <p>This is my code:</p>
  
  <pre><code>form = '''
  &lt;form method="get" action="http://some.website.fakeurl"&gt;
      &lt;label&gt;Latitude:
          &lt;input name="lat"&gt;
      &lt;/label&gt;
      &lt;label&gt;Longitude:
          &lt;input name="lon"&gt;
      &lt;/label&gt;
      &lt;input type="submit"&gt;
  &lt;/form&gt;
  '''
  
  class MainPage(webapp2.RequestHandler):
      def get(self):
          self.response.out.write(form)
  </code></pre>
  
  <p>And the desired request looks something like this:</p>
  
  <pre><code>Accept: application/json
  access_token: 
  appKey: **************************
  
  Get Method http://some.website.fakeurl/weather?lon=126.9658000000&amp;lat=37.5714000000
  </code></pre>