How to Secure REST APIs: API Keys Vs OAuth
REST, a.k.a. Representational State Transfer, is an architectural style commonly used in software development. Applications built via REST-style development tend to be excellent examples of distributed hypermedia applications. However, they don’t often have excellent innate security options. That’s where API keys and OAuth tokens come in. In this article, we’ll cover how to secure REST APIs with either API keys or OAuth.