title: How to Fix :"flask request.arg.get('language') funtions return NONE
body: <p>When i try to send HTTPRequest from Esp8266 to Flask App,
  İt returns <strong>None</strong></p>
  
  <p>Im sending </p>
  
  <pre><code>  http.POST("language=python");
  </code></pre>
  
  <p>to flask server.</p>
  
  <p>How can I Get a value on my flask server?</p>
  
  <p>This is my ESP8266 HTTPRequest code :</p>
  
  <pre><code> void loop() {
     // wait for WiFi connection
     if ((WiFiMulti.run() == WL_CONNECTED)) {
       WiFiClient client;
  
       HTTPClient http;
  
       Serial.print("[HTTP] begin...\n");
       if (http.begin(client, "http://192.168.1.107:8090/query")) {  // HTTP
  
  
       http.addHeader("Content-Type", "application/x-www-form-urlencoded");      
       int httpCode = http.POST("language=python");
       String payload = http.getString();
       Serial.println(httpCode);   //Print HTTP return code
       Serial.println(payload);         
  
  
  
       http.end();
     } else {
       Serial.printf("[HTTP} Unable to connect\n");
     }
  </code></pre>
  
  <p>This is my flask code:</p>
  
  <pre><code> from flask import Flask,render_template
   from flask import request
  
   app = Flask(__name__)
  
   @app.route('/query',methods=['GET','POST'])
   def helloHandler():
       language = request.get_data() #if key doesn't exist, returns None
       veri=request.args.get('language')
  
       print(request.get_data()) 
       print(veri)
  
       return '''&lt;h1&gt;The language value is: {}&lt;/h1&gt;'''.format(veri)
  
   app.run(host='0.0.0.0', port= 8090)
  </code></pre>
  
  <p>And this is my Results when programs are running:</p>
  
  <p><a href="https://ibb.co/C5YZN59" rel="nofollow noreferrer">https://ibb.co/C5YZN59</a></p>