The API-first approach ensures that all the functionality of an application is accessed through APIs.
This approach involves designing every API around a contract written in an API description language. For example, OpenAPI Specification.
π API Gateway
An API gateway is a component or tool of an API management approach.
Gateways are used as the entry point for client requests.
This allows them to facilitate requests, combine results, and handle things like authentication.
π Internal API
Internal API, also known as Private API, is only accessible to the developers within an organization.
π External API
External API, also known as Public API is accessible to all the developers outside the enterprise or organization.
π Composite API
Composite API is a design approach in which we bundle multiple API requests into a single API call.
The response body of one request can be used as the input for the other request.
Response bodies and the HTTP statuses are returned in a single response body.
π OpenAPI Spec
It is a format to define structure and syntax for REST APIs.
It provides a standard that allows both humans and computers to discover and understand the service's capabilities without access to source code, documentation, or traffic inspection.
π CORS
CORS is an HTTP-based mechanism that lets you request data from one URL to a different URL.
π API Caching
API Caching is the ability to store copies of frequently accessed data in several places along the request-response path.
π API Versioning
API versioning is the practice of managing changes in your API.
You should version your API if you are introducing any breaking changes.
This way, clients can still access the old version, and their products won't break as soon as you launch a new release.
With that being said, this is the end of this thread.
Follow @Rapid_API to read more excellent API-related content. ππ
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
API testing is performed to test whether a particular API meets pre-defined parameters or not.
Let's talk more about API Testing π§΅ππ»
API testing includes testing APIs in isolation to ascertain if they meet the functionality, reliability, latency, performance, security, and other essential parameters.
API testing commonly includes testing APIs with JSON or XML payload sent over HTTP, HTTPS, JMS, and MQ. These are widely used data formats and networking/messaging protocols.