Build an Easy Rest API in python with Swagger UI
There is a lot of article describing the reason to use python or the way to install the environment. I'll recommend you the following article, which is quite complete :
https://auth0.com/blog/developing-restful-apis-with-python-and-flask/
In this ar...
devops.dina.ch3 min read
Hi, Trying your example, I had CORS problem using the rest api. Found on flask-cors.readthedocs.io/en/latest : In the simplest case, initialize the Flask-Cors extension with default arguments in order to allow CORS for all domains on all routes.
from flask import Flask from flask_cors import CORS app = Flask(__name__) CORS(app)If it can help someone :)