3 ms·
> if the client reissues the POST in the server should reject a second attempt to create a star named 'death star' just and give back the same pointer to /queue
by geezerjay 8y ago
> if the client reissues the POST in the server should reject a second attempt to create a star named 'death star' just and give back the same pointer to /queue/12345.
This use case is typically handled by replying to the duplicate POST request with a status code 409 Conflict, and include in the response a link to the resource representing the long-running job.
https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10 https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec1...