mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-11-01 10:28:01 +00:00
FIX: endpoints are now reachable only if version is included in the path
Change-Id: Ica5e0c52b985e234e960d712e20a6df874e66b35
This commit is contained in:
@@ -12,7 +12,6 @@ PATH_REQUEST_BASE_PATH = '/path-request'
|
|||||||
|
|
||||||
|
|
||||||
@app.route(API_VERSION + PATH_REQUEST_BASE_PATH, methods=['POST'])
|
@app.route(API_VERSION + PATH_REQUEST_BASE_PATH, methods=['POST'])
|
||||||
@app.route(PATH_REQUEST_BASE_PATH, methods=['POST'])
|
|
||||||
def path_request(path_request_service: PathRequestService):
|
def path_request(path_request_service: PathRequestService):
|
||||||
data = request.json
|
data = request.json
|
||||||
service = data['gnpy-api:service']
|
service = data['gnpy-api:service']
|
||||||
|
|||||||
Reference in New Issue
Block a user