4 ms·
We can use existing REST methodology to serve coffee from coffee pots. Send a POST request to the coffee pot with parameters for the required type of coffee. Th
by simula67 11y ago
We can use existing REST methodology to serve coffee from coffee pots. Send a POST request to the coffee pot with parameters for the required type of coffee. The server on the coffee pot responds with 200 OK if it can process the request and makes the coffee. 500 if there was a problem.
WHEN method is unnecessary, use GET to retrieve status.
"418 I'm a teapot" is also unncessary, just use 500.
What a short sighted protocol.
- ecdavis 11y agoLook at the publication date.