Render & Return a static file in Flask Example curl --location --request GET 'http://localhost:5000/path' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic password_encoded_base64'