title: Flask Print Not Working
body: <p>If I send run this program to do a HTTP Post to my Flask server, which I know returns a 200 response:</p>
  
  <pre><code>import requests
  import json
  dump= '{"on": false}'
  r = requests.post('http://127.0.0.1:5000', data=dump,
                    headers={'Content-Type': 'application/json'})
  </code></pre>
  
  <p>And my Flask server's code:</p>
  
  <pre><code>from flask import Flask
  from flask import request, jsonify
  import requests
  
  app = Flask(__name__)
  
  @app.route('/', methods=['GET', 'POST'])
  def signal():
      if request.method == 'POST':
          content = request.get_json()
          return jsonify(content)
          print(jsonify(content))
          r = requests.put("http://192.168.1.102/api/F5La7UpN6XueJZUts1QdyBBbIU8dEvaT1EZs1Ut0/lights/5/state/", jsonify(content))
      else:
           return 'Hello, world!'
  
  if __name__ == '__main__':
      app.run(debug=True)
  </code></pre>
  
  <p>I want to print the data to the console, then send it over to a bridge on the network using a HTTP PUT. Neither of these are working, and I'm not sure why.</p>