For the following ajax post request for Flask (how can I use data posted from ajax in flask?):
ajax
Flask
$.ajax({ url: \"http://127.0.0.1
I might be a late on this question but below steps fixed the issue
from flask import Flask from flask_cors import CORS app = Flask(__name__) CORS(app)