Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cors error in flask

from flask import Flask
from flask_cors import CORS, cross_origin

app = Flask(__name__)
CORS(app)

@app.route("/")
def helloWorld():
    return "Hello world"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cors #error #flask
ADD COMMENT
Topic
Name
7+1 =