diff --git a/README.md b/README.md index c90012a..296967c 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ If you go to https://matweb.info/apidocs you can find a Swagger documentation. ## Upload Endpoint -**Endpoint:** `/api/upload` +**Endpoint:** `/api/upload`__ **HTTP Verbs:** POST diff --git a/main.py b/main.py index cf75e2d..a836c13 100644 --- a/main.py +++ b/main.py @@ -33,7 +33,7 @@ def create_app(test_config=None): # Restful API hookup api = Api(app) - swagger = Swagger(app) + Swagger(app) CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}}) api.add_resource( rest_api.APIUpload,