4 ms·
> JSON RPC tends to embed credentials into the body, where REST puts them in the URL string or headers. The JSON RPC spec says nothing about authentication, yo
by RedShift1 4y ago
> JSON RPC tends to embed credentials into the body, where REST puts them in the URL string or headers.
The JSON RPC spec says nothing about authentication, you can use whatever authentication method you wish.
- silvestrov 4y agoMany people have learned the hard way that it is one thing what the spec says, another what software actually do. This is a variation of Hyrum's Law: With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody. https://www.hyrumslaw.com https://www.hyrumslaw.com