| Website | https://www.milowski.com |
| GitHub | https://github.com/alexmilowski |
| Website | https://www.milowski.com |
| GitHub | https://github.com/alexmilowski |
@ndw Most people’s requirements for data exchange are simple and so simple won. It isn’t “better” but it has a simple natural mapping to data structures keeping simple things easy to use.
Not simple or sufficient - JSON Schema: a hot mess of afterthoughts.
HTTP has a new method: QUERY. Tl;dr: GET with a body.
https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-14.html
(Doesn’t have an RFC number yet but has been approved, will get one in a few weeks.)
This specification defines the QUERY method for HTTP. A QUERY requests that the request target process the enclosed content in a safe and idempotent manner and then respond with the result of that processing. This is similar to POST requests but can be automatically repeated or restarted without concern for partial state changes.