-
Book Overview & Buying
-
Table Of Contents
The C# Workshop
By :
An Application Programming Interface (API) is an interface through which you can call some functionality using code. It could be a class or an interface in C#, or a browser (you can interact with it through code provided by its own interface), but in the context of HTTP, it is a web service. A web service is an API hosted on a remote machine that is accessible through HTTP. An access point used to invoke a single piece of functionality on a Web API is called an endpoint. The most commonly used Web API type is RESTful.
A Representational State Transfer (REST) API is an API built on the following six principles. Four principles are a given whatever framework you use implementing a RESTful API, and, as a client, they should be expected: