You must have heard of the term RESTful API.

Let's try to get a quick introduction to the REST API in the following ten tweets.

A Thread πŸ§΅πŸ‘‡πŸ»
Before jumping onto REST

An API is an Application Programming Interface that lets you connect two computers, where one computer or application requests the data from the server.
RESTful APIs are the most famous type of API.

REST APIs are APIs that follow standardized principles, properties, and constraints.

You can access resources in the REST API using HTTP verbs. πŸ‘‡πŸ»
Here are a few common HTTP verbs:

πŸ“„ GET (read existing data)
πŸ“² POST (create a new response or data)
♻️ PATCH (update the data)
πŸ—‘οΈ DELETE (delete the data)
RESTful API is entirely based on a request/response system.

The client can make requests using HTTP verbs followed by the endpoint. Let's talk a bit about endpoints.
The endpoint (or route) is the URL you request for. The path determines the resource you’re requesting.

When you send a request to an endpoint, the server responds with the relevant data, generally formatted as JSON, XML, plain text, images, HTML, and more.
An actual RESTful API will follow the following constraints. πŸ‘‡πŸ»

1. Client-Server Architecture

The client requests the data from the server with no third-party interpretation.
2. Statelessness

Statelessness means that every HTTP request happens in complete isolation. The client and the server don't need to store any information about each other, and there is no state.
3. Cacheability

The response can be cacheable, and it can improve the performance and scalability of an API. Also, cacheability allows the client to get the data even quicker.
4. Layering

Different layers of the API architecture should work together, creating a scalable system that is easy to update or adjust.
5. Uniform Interface

Communication between the client and the server must be done in a standardized language that is independent of both. This improves scalability and flexibility.
With that being said, this was the quick introduction of REST API in ten tweets.

We hope you find this thread helpful. Let us know your thoughts in the comments box down below.

Make sure to follow @Rapid_API for more insightful 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

27 Oct
Building an Artificial Intelligent application is a tedious task.

We bring you the top 5 Artificial Intelligence APIs to build excellent full-stack applications.

A Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ BOTlibre

- BOT libre allows you to create your artificial intelligent chatbot, train them, and share them with others.

πŸ”— RapidAPI.com/paphus/api/bot…

πŸ“ˆ Popularity: 8.4/10
πŸ•§ Latency: 1,128ms
βœ… Service Level: 100%
2️⃣ Sentiments

- Sentiments API returns the sentiment score of any given text.

πŸ”— RapidAPI.com/connexun-srl-c…

πŸ“ˆ Popularity: 6.1/10
πŸ•§ Latency: 772ms
βœ… Service Level: 92%
Read 6 tweets
27 Oct
A quick Introduction to API πŸ–‡οΈ

The following ten tweets will give you an agile intro to API if you're new to the API development world.

A Thread πŸ§΅πŸ‘‡πŸ»
πŸ“Œ Definition

API is the acronym for

Application
Programming
Interface

API is a set of definitions and protocols that allow two computers to talk to each other.
πŸ“Œ Real-time example of an API

Suppose you're building an app in which you need to validate the users' email id.

Steps you can do so πŸ‘‡πŸ»

- Check the format of the string (does it have an @ sign?)
- Ping domain to validate running to the email server
- Check blocklists, etc
Read 13 tweets
25 Oct
Top 5 Finance APIs you can use in your next project.

A Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Alpha Vantage

- The simplest and most effective way to receive stock, ETF, forex, technical indicators, and cryptocurrency data.

πŸ”— rapidapi.com/alphavantage/a…

πŸ“ˆ Popularity: 9.9/10
πŸ•› Latency: 577ms
βœ… Service Level: 100%
2️⃣ Currency Converter

- Provides exchange rates based on the official bank's data.

πŸ”— rapidapi.com/natkapral/api/…

πŸ“ˆ Popularity: 9.8/10
πŸ•› Latency: 173ms
βœ… Service Level: 100%
Read 6 tweets
13 Oct
Are you into Machine Learning?

We bring you the top 5 Machine Learning APIs to build excellent full-stack applications.

A thread πŸ§΅πŸ‘‡πŸ»
1️⃣ OOPSpam Spam Filter

πŸ”Ή OOPSpam Anti-Spam API helps you better identify spam content for contact forms, comment systems, blogs, live chat, etc.

πŸ”— RapidAPI.com/oopspam/api/oo…
2️⃣ Face Detection and Facial Features

πŸ”Ή This API provides face coordinates for all faces detected in an image.

πŸ”— RapidAPI.com/eyerecognize/a…
Read 6 tweets
8 Oct
We have compiled over 50 excellent APIs for you, which you can use in your future projects.

πŸ§΅πŸ‘‡πŸ»
Read 13 tweets
7 Oct
We bring you the top 5 Gaming APIs to build excellent full-stack applications.

πŸ§΅πŸ‘‡πŸ»
1️⃣ Fortnite-API

- Battle Royale players statistics, matches history, store, news, and PVE Info for Fortnite provided by Fortnite.

πŸ”— RapidAPI.com/elreco/api/for…

πŸ“ˆ Popularity: 9.7/10
πŸ•§ Latency: 982 ms
βœ… Service Level: 83%
2️⃣ Call of Duty: Modern Warfare

- This API provides stats for Warzone and Multiplayer.

πŸ”— RapidAPI.com/elreco/api/cal…

πŸ“ˆ Popularity: 9.7/10
πŸ•§ Latency: 1287 ms
βœ… Service Level: 100%
Read 6 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 Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(