[haiku-depot-web] API Over-HTTP Protocol

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Wed, 25 Sep 2013 23:17:43 +1200

Hello;

I am starting to have a think about the API requirements at the moment and as part of this am thinking about the on-top-of HTTP protocol that could be used between the server and the desktop application. I guess REST with JSON or XML encoded payloads is one option and JSON-RPC is another.

I generally lean towards JSON-RPC because the payloads have some structure and there is is no confusion around mapping HTTP status codes to a larger set of real errors and error responses.

Does anybody have any other thoughts around this or other options?

Regards;

--
Andrew Lindesay

Other related posts: