Spontaneously the answer is of course no, so to understand what I'm getting at please let me explain.
We have a service into which the client POST
s jobs that are to be executed, but they are not executed at the time of the post. Instead our service responds with an ID which the client may use to execute the job
via a GET
.
Now when the job is executed, it is also removed and that job is no longer available.
From my understanding of what a RESTfull architecture is, our implementation does not comply to the ideas of REST.
So what I'm wondering is, if were not RESTfull how should we redesign so that we are? Is it just a matter of changing our GET
to POST
(which i don't believe, since were removing something (the job)) at the same time a DELETE
also seems weird since were executing a job
with job
I mean that we're providing a possibly huge amount of data from our DB's.