RapidAPI Profile picture
Feb 23 β€’ 13 tweets β€’ 2 min read
Everything you need to know about HTTP redirections.

Thread πŸ§΅πŸ‘‡πŸ»
A particular webpage or website may have more than one URL.

HTTP redirect responses belong to such kinds of applications.
Redirections are quite helpful in the following ways: πŸ‘‡πŸ»

β€’ You can temporarily redirect while maintaining.
β€’ You can add a permanent redirect to the new URL so that the exciting link won't break.
HTTP has a dedicated responses series, which is 3xx, for redirection messages.

HTTP redirections are always handled on the server-side.

The server sends the 3xx status code along with the `Location` header.
`Location` header contains the redirect URL.

Browser simultaneously redirects to the URL specified in the `Location` header without any client input.
HTTP redirects can be

- Temporary
- Permanent
- Special
πŸ“Œ Permanent redirections

The old URL will never be used and it has been changed with the new URL.
There are two typical HTTP responses in permanent redirections:

1. 301 Moved Permanently
Method and body might also be changed.

2. 308 Permanent Redirect
Same method and body.
πŸ“Œ Temporary redirections

Temporary redirections are widely used while maintaining the URL.
There are three typical HTTP responses in temporary redirections:

1. 302 Found
Method may or may not be changed.

2. 303 See Other
Method changed to GET.

3. 307 Temporary Redirect
Method and body are the same.
πŸ“Œ Special redirections

There are certain scenarios when redirects happen which doesn't fall into permanent or temporary redirects.

For example, Caching and multiple choice.
There are two typical HTTP responses in special redirections:

1. 300 Multiple Choice
Multiple options to respond.

2. 304 Not Modified
Cache response can be used.
With that being said, this is pretty much it for this brief introduction to HTTP redirects.

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

Feb 22
Top Five SMS APIs you can use in your next project.

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

- Quickly integrate Direct7 SfdMS Gateway and reach your customers over D7’s own connectivity to the global mobile network.

πŸ”— RapidAPI.com/d7admin/api/d7…
2️⃣ Telesign SMS

- The Telesign SMS Verify API offers verification and two-factor authentication (over SMS) capabilities.

πŸ”— RapidAPI.com/telesign/api/t…
Read 7 tweets
Feb 21
Here are the five best API Management practices.

Thread πŸ§΅πŸ‘‡πŸ»
Let's first discuss a bit about API management.

API management is the practice of overseeing all aspects of the APIs.
API management typically includes:

- Ways of building APIs
- Making them accessible for all users
- Monitoring and analyzing
- Reporting performance metrics
- Security
Read 7 tweets
Feb 18
Everything you need to know about curl.

Thread πŸ§΅πŸ‘‡πŸ»
cURL stands for client URL.

It is used to establish communication between the client and the server.

You can fetch data and transfer data to the server using curl.
It might be surprising for you but curl supports 26 protocols.

Widely used protocols like HTTP, FTP, SMTP are also supported in the curl library.
Read 10 tweets
Feb 17
Free API Development courses.

Learn more about APIs and web development in general by creating excellent projects.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Build and sell your own API

Make a profitable API from scratch and sell it on the RapidAPI Hub.

πŸ”— RapidAPI.com/courses/build-…
2️⃣ Build and Deploy a Google Maps Travel Companion Application

A great tutorial on building and deploying a Google Maps Travel Companion App using a free API available on RapidAPI.

πŸ”— RapidAPI.com/courses/build-…
Read 7 tweets
Feb 17
How to handle CORS in your Node.js application.

Thread πŸ§΅πŸ‘‡πŸ»
CORS is quite annoying for developers. But not that as it sounds.

Let's see how we can handle it effectively in our Node.js application.
You can check this thread if you're not familiar with CORS.

Read 8 tweets
Feb 16
Top ten Text Analysis APIs.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Sentiment Analysis

Enter a string to check the positive or negative tone.

RapidAPI.com/twinword/api/s…
2️⃣ Text-Processing

This API provides sentiment analysis, stemming and lemmatization, part-of-speech tagging and chunking, phrase extraction, and named entity recognition.

RapidAPI.com/japerk/api/tex…
Read 12 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

Don't want to be a Premium member but still want to support us?

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!

:(