"method Not Allowed" In A Python Function For Flask
I want to save on a .ttl file a type 'person' resource from a javascript function: this is my sparql query: @app.route('/registraAnnotatore/+', methods=['
Solution 1:
Your endpoint only accepts POST request: @app.route('/registraAnnotatore/<author>+<mail>', methods=['POST'])
and in your client you are doing a GET request method: 'GET',
That's why you're getting 405 METHOD NOT ALLOWED for this endpoint ( /registraAnnotatore/<author>+<mail>
).
Post a Comment for ""method Not Allowed" In A Python Function For Flask"