Answers for "policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. flask"

6

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"
Posted by: Guest on June-17-2020

Code answers related to "policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. flask"

Python Answers by Framework

Browse Popular Code Answers by Language