This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from flask import Flask | |
| app = Flask(__name__) | |
| """ | |
| Usage: Install Flask, export this file as the `FLASK_APP` then `flask run`. | |
| The resulting server will return the status code you as it for. Exemple gratis: | |
| curl 127.0.0.1/404 - will return a 404 | |
| curl 127.0.0.1/500 - will return a 500 |
OlderNewer