RapidAPI Profile picture
Jan 27 β€’ 17 tweets β€’ 3 min read
API development becomes a little easier if you know the correct terms and their correct meaning.

Here, we complied with widely used terms in API development.

Thread 🧡
πŸ“Œ API Key

An API key is a unique code that lets you call an API.

The only rule is that these keys must be unique and not easy to guess.

Generally, API keys contain lower case and upper case letters with numbers.
πŸ“Œ API Token

The API token is a unique identifier of an application requesting access to your API.

An API token is a form of authentication similar to a username/password.
πŸ“Œ Authentication

Authentication and authorization are the two most confusing terms.

Authentication is validating the user to identify if they are who they claim to be.
πŸ“Œ Authorization

Authorization always comes after authentication.

It is the process of permitting users to access different resources from the server, and it’s not visible and changeable by the user.
πŸ“Œ HTTP cookies

An HTTP cookie is a small piece of data created by the web server inside your browser.

The data inside a cookie has an ID that is unique to you and your computer.

This ID helps the server to know who the user is so it can send the data accordingly.
πŸ“Œ API Lifecycle

API lifecycle is the entire lifespan of any particular API from its planning phase to when it gets stale.

More about it. πŸ‘‡πŸ»

πŸ“Œ API-first approach

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
γ€€

Keep Current with RapidAPI

RapidAPI Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Rapid_API

Jan 26
Let's break down the process of building a REST API from scratch using Node.js and Express.

Thread πŸ§΅πŸ‘‡πŸ»
Head over to the following thread if you're not aware of REST API.

We are assuming you have Node.js installed on your machine. If you haven't installed it, click on the following link and install it simply.

nodejs.org/en/
Read 21 tweets
Jan 26
A brief introduction to API Testing. πŸ§ͺ

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.
Read 13 tweets
Jan 24
What exactly is an API Key?

Thread πŸ§΅πŸ‘‡πŸ»
Let's first talk a bit about APIs.

API is an interface that allows the software to communicate via the internet. In simple terms, APIs are how apps talk to each other.
To call those APIs, you need an API key to establish a communication path between software.

An API key is a unique code for every user which lets you call an API.
Read 15 tweets
Jan 24
Top five APIs that can help you build weather applications. 🌦️

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Visual Crossing Weather

Visual Crossing Weather API provides instant access to both historical weather records and weather forecast data.

rapidapi.com/visual-crossin…
2️⃣ Open Weather Map

Get weather and weather forecasts for multiple cities.

rapidapi.com/community/api/…
Read 7 tweets
Jan 20
There are 9 HTTP request methods:

- GET
- PUT
- POST
- HEAD
- TRACE
- PATCH
- DELETE
- OPTIONS
- CONNECT

Let's talk about them in a bit more detail πŸ§΅πŸ‘‡πŸ»
HTTP request methods are the actions initiated from the client-side to perform certain actions.

These HTTP request methods are sometimes called nouns or referred to as HTTP verbs.
πŸ“Œ GET

The GET method is the most common of all these request methods. It is used to get the desired resources from the server.

The GET methods don't affect the state of the server.
Read 12 tweets
Jan 19
Millions of websites are using API somehow in today's era.

It's imperative to optimize your API to provide a better user experience.

Here are five ways to optimize your API performance and make it stand out. πŸ§΅πŸ‘‡πŸ»
1️⃣ Use rate-limiting strategy

There might be a case where the user executes a loop, causing many API requests that can slow down your API performance.
In order to avoid such scenarios, use rate-limiting factors and limit the specific number or request in the given time period.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(