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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.