3 ms·
HTTP 418 is already reserved for teapots whom have been requested to make coffee (RFC2324, section 2.3.2[0]) [0] https://tools.ietf.org/html/rfc2324 https://to
by gizmo686 11y ago
HTTP 418 is already reserved for teapots whom have been requested to make coffee (RFC2324, section 2.3.2[0])
[0] https://tools.ietf.org/html/rfc2324 https://tools.ietf.org/html/rfc2324
- simula67 11y agoWe 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.