SHARE
TWEET

Untitled

a guest Jan 23rd, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from flask import Flask
  2. from flask import request
  3.  
  4. app = Flask(__name__)
  5.  
  6. @app.route('/', methods=['POST'])
  7. def hello_world():
  8.     print(request.data)
  9.     return 'Hello, World!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top