JSON-RPC / OpenRPC seems like a great option for APIs. Why isn’t it adopted more widely? Many of the APIs of projects I’ve worked with look like essentially like RPC style calls. The URLs are structured as action/method names to do specific things. I like many of the benefits to an RPC approach compared to REST, GraphQL, or gRPC-Web. Unfortunately, the client code generation with popular options feels clunky when you want to use them in an RPC style. It seems like JSON-RPC would be better. https://open-rpc.org https://www.jsonrpc.org
Story Published at: January 1, 2023 at 10:34PM
Story Published at: January 1, 2023 at 10:34PM