3 ms·
Ask HN: JsonRPC vs. REST
I'm developing a purely API product targeted at Developers, which protocol should implement the interface with?
- manquer 5y agoIf you are building a product for developers you should build what your customers prefer or comfortable with. If your build SDKs for client side consumption it doesn't matter your protocol. I don't care how aws s3 really talks to it's sdk for example.
- ianpurton 5y agoAs a developer I don't care how you implement your API. What I want is. - Great documentation - A library I can import i.e. cargo install, npm install etc etc.
- ekmungai 5y agoThanks for the reply, but I was thinking that the developers would be making direct API calls to endpoints that I will publish. There'll be adequate documentation of course, so I guess my question boils down to which protocol easier to adopt by developers.
- theflyinghorse 5y agoThink about your market, talk to your would-be users, and look at your competition. Without much in the way of detail nobody can tell you much. It may be that the particular area you are working in is more used to working with REST and therefore you would reduce adaptation barrier by also choosing REST.