from flask import Flask, request, jsonify

app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Example for post'

@app.route('/post', methods=["POST"])
def testpost():
     input_json = request.get_python(force=True) 
     dictToReturn = {'text':input_python['text']}
     return python(dictToReturn)

app.run()

bdf5199e8d28a5623a579d106dd76f967749effe
<mask token>


@app.route('/')
def hello_world():
    return 'Example for post'


@app.route('/post', methods=['POST'])
def testpost():
    input_json = request.get_python(force=True)
    dictToReturn = {'text': input_python['text']}
    return python(dictToReturn)


<mask token>

<mask token>


@app.route('/')
def hello_world():
    return 'Example for post'


@app.route('/post', methods=['POST'])
def testpost():
    input_json = request.get_python(force=True)
    dictToReturn = {'text': input_python['text']}
    return python(dictToReturn)


app.run()

<mask token>
app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Example for post'


@app.route('/post', methods=['POST'])
def testpost():
    input_json = request.get_python(force=True)
    dictToReturn = {'text': input_python['text']}
    return python(dictToReturn)


app.run()

from flask import Flask, request, jsonify
app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Example for post'


@app.route('/post', methods=['POST'])
def testpost():
    input_json = request.get_python(force=True)
    dictToReturn = {'text': input_python['text']}
    return python(dictToReturn)


app.run()

from flask import Flask, request, jsonify

app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Example for post'

@app.route('/post', methods=["POST"])
def testpost():
     input_json = request.get_python(force=True) 
     dictToReturn = {'text':input_python['text']}
     return python(dictToReturn)

app.run()
