We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note below that a route got created without a name. However we should be able to delete this route
ubuntu@ip-172-31-30-70:~/enroute/packaging$ curl -s localhost/service/adminservice/route -H "Authorization: Bearer treehugger" | jq { "data": { "saaras_db_route": [ { "route_id": 1, "route_name": "route_docs", "route_prefix": "/", "create_ts": "2019-10-08T23:32:15.414923+00:00", "update_ts": "2019-10-08T23:32:15.414923+00:00" }, { "route_id": 3, "route_name": "", "route_prefix": null, "create_ts": "2019-10-08T23:59:31.653867+00:00", "update_ts": "2019-10-08T23:59:31.653867+00:00" } ] } } ubuntu@ip-172-31-30-70:~/enroute/packaging$ curl -s -X DELETE localhost/service/adminservice/route/"" -H "Authorization: Bearer treehugger" | jq { "message": "Not Found" }
We could implement a call like this to achieve it -
curl -s localhost/service/adminservice/routeid/3 -H "Authorization: Bearer treehugger" | jq
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note below that a route got created without a name. However we should be able to delete this route
We could implement a call like this to achieve it -
The text was updated successfully, but these errors were encountered: