How do you send \"commands\" to a RESTful server?
Use case: My server caches certain information so that it does not have to read the database every time that inform
I'd suggest this:
http://server.example/results/00001
), perhaps with a 204 (No Content) status and Location header or a redirect (depending on which client can understand).It's up to you to decide on the lifecycle of the result resource. It could be short-lived if you don't need to store the results for long. The URI could be constructed from a UUID for example.