Closed mukhyala closed 2 years ago
We changed some of the API endpoints in the recent version 0.8.0-beta and the documentation pages might be slightly outdated. The endpoint for submitting jobs is now POST
/api/services/<service>/jobs
. You can look up the endpoints by navigating to /api
on your server; that should be up to date with the version you use.
Did it help resolve your issue? I'd like to know whether I can close the issue or, if it still occurs, there is a bug in the code.
Thanks Mateusz! I was able to job the example job and fetch the output. This issue can be closed.
Following the documentation from http://bartongroup.github.io/slivka/getting_started.html#running-slivka, I was able to start the server but trying to submit the example job results in a 405 Method Not Allowed error.
GET on http://hostname:4040/api/services/example works but curl -d"arg=hello world" )http://hostname:4040/api/services/example returns a 405.
It looks like /api/services/example supports a GET request, so what is the URL for submitting a job via a POST request? I am using the latest dev version of slivka on GitHub