Skip to content

Comment on Getting started with designing a Secure REST (Web) APIparent

Comments

It provides an additional layer of security over HTTPS/BasicAuth, so if your SSL certificate or even the CA is compromised, you retain a degree of security.

On the other hand, it makes it more difficult for developers to access your API; you can't just send requests over Curl, for instance.

Good point about curl - a strong motivation of mine was to make the API easy to access through tools like curl.

[I have seen some discussions about adding explicit support for OAuth in curl]

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.