from flask import Flask, request,jsonify
from flask_cors import CORS
from testsearchforwin import searchall

app = Flask(__name__)
CORS(app, resources=r'/*')

@app.route('/', methods=['POST'])
def helloWorld():
  return "Hello, cross-origin-world!"

@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg=mydata['url']
    #print msg
    a = searchall(msg)
    #print a
    return jsonify(result=a)

if __name__ == '__main__':
    app.run()

3ffbd80a4c5e27c284f0c6c023661b0d2736a77d
<mask token>


@app.route('/', methods=['POST'])
def helloWorld():
    return 'Hello, cross-origin-world!'


@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg = mydata['url']
    a = searchall(msg)
    return jsonify(result=a)


<mask token>

<mask token>
CORS(app, resources='/*')


@app.route('/', methods=['POST'])
def helloWorld():
    return 'Hello, cross-origin-world!'


@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg = mydata['url']
    a = searchall(msg)
    return jsonify(result=a)


if __name__ == '__main__':
    app.run()

<mask token>
app = Flask(__name__)
CORS(app, resources='/*')


@app.route('/', methods=['POST'])
def helloWorld():
    return 'Hello, cross-origin-world!'


@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg = mydata['url']
    a = searchall(msg)
    return jsonify(result=a)


if __name__ == '__main__':
    app.run()

from flask import Flask, request, jsonify
from flask_cors import CORS
from testsearchforwin import searchall
app = Flask(__name__)
CORS(app, resources='/*')


@app.route('/', methods=['POST'])
def helloWorld():
    return 'Hello, cross-origin-world!'


@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg = mydata['url']
    a = searchall(msg)
    return jsonify(result=a)


if __name__ == '__main__':
    app.run()

from flask import Flask, request,jsonify
from flask_cors import CORS
from testsearchforwin import searchall

app = Flask(__name__)
CORS(app, resources=r'/*')

@app.route('/', methods=['POST'])
def helloWorld():
  return "Hello, cross-origin-world!"

@app.route('/dataconvector', methods=['POST'])
def dataConvector():
    mydata = request.get_json(force=True)
    msg=mydata['url']
    #print msg
    a = searchall(msg)
    #print a
    return jsonify(result=a)

if __name__ == '__main__':
    app.run()
