DEV Community

Discussion on: What is a REST API?

andreidascalu profile image
Info Comment hidden by post author - thread only visible in this permalink
Andrei Dascalu

Just a small correction about the definition: APIs are the public interface of a system that allows programmers to use it in an application. They're not directly related to http and only a small subset is done over http (as REST, SOAP or RPC). For example, Java has an API (the totality of publicly exposed methods from various packages forms the Java API), PHP also has an API - any function that developers can use to write a program.

Some comments have been hidden by the post's author - find out more