HTTP headers allow clients and servers to talk to each other and pass extra bits of information or instructions.

Here are the Top Five HTTP headers you might not know about.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Content-Disposition

Content-Disposition header tells the browser to

- Display the content as a web page or as a part of the web page
- Download the content
Suppose you want to download the file that the server returns. This is how you can do it. πŸ‘‡πŸ»

Content-Disposition: attachment; filename="index.html" Code snippet of Content-Disposition HTTP header. Content-Dis
2️⃣ Expires

The Expires header contains the date and time after which the response is considered outdated or not fresh.

For example,

Expires: Fri, 01 Oct 2021 09:30:30 GMT Code snippet of Expires HTTP header. Expires: Fri, 01 Oct 20
3️⃣ Expect

The Expect HTTP header indicates the client's expectation that the server can meet.

Expect header is not so common in the browsers but cURL sends the Except header by default.
For example,

Expect: 100-continue

This indicates that the client is expecting a 100 status code if the information present in the request is enough for the server to respond. Code snippet of Expect HTTP header. Expect: 100-continue
4️⃣ If-Modified-Since

The If-Modified-Since HTTP header is used to make the request conditional, and it asks the server whether the data has been changed or not.
The server will return the modified resource if it has been changed since the date and time mentioned in the "If-Modified-From" header.

The server will return 304 Not Modified if the resource has not changed.

For example,

If-Modified-Since: Fri, 24 Sep 2021 09:30:30 GMT Code snippet of If-Modified-Since HTTP header. If-Modified-S
5️⃣ From

The From header indicates the human email address.

The server uses it to report the unwanted problems to the actual human if you're using the bot (like a Web crawler) to send requests.

For example,

From: test@rapidapi.com Code snippet of From HTTP header. From: test@rapidapi.com
And that's pretty much it for this thread. 😁

RapidAPI (RapidAPI.com/hub?utm_source…) is here to provide the best possible API-based content. Make sure to follow us at @Rapid_API to reduce the chances of missing top-notch 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

28 Sep
Top 10 API-based web development projects you can build using RapidAPI.

A curated list of excellent tutorials. πŸš€

πŸ§΅πŸ‘‡πŸ»
1️⃣ Travel Advisor App

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

πŸ”—
2️⃣ Convolutional Networks for Heart Disease Prediction

- In this video, you'll learn how to build convolutional networks that can predict heart disease using RapidAPI.

πŸ”—
Read 11 tweets
28 Sep
Bitcoin, Blockchain, and Cryptocurrency cover a large portion of Web 3.0.

The ultimate goal of Web 3.0 is to provide a more capable, secure, and semantic web.

Here are the Top four APIs that can make Web 3.0 more accessible and manageable. πŸš€

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

BraveNewCoin API provides the latest and historical cryptocurrency market data. This API has several endpoints which you can choose from.

πŸ”— RapidAPI.com/BraveNewCoin/a…

πŸ“ˆ Popularity: 9.9/10
πŸ•› Latency: 87ms
βœ… Service Level: 100% Homepage of BraveNewCoin API
2️⃣ Blockchain Data

Gives access to more than 20 blockchains: blocks, transactions, transfers, smart contracts, and tokens.

πŸ”— RapidAPI.com/bitquery-bitqu…

πŸ“ˆ Popularity: 8.2/10
πŸ•› Latency: 329ms
βœ… Service Level: 100% Homepage of Blockchain Data API
Read 6 tweets
27 Sep
You can always enhance your development skills by creating projects. πŸš€

Let's see How to Create an Emotion Recognition App using React and RapidAPI.
πŸ§΅πŸ‘‡πŸ» Homepage of emotion recogni...
Step 1: Connect to the Facial Emotion Recognition API πŸ–‡οΈ

We will be using the free Facial Emotion Recognition API for this particular project. Head over to the Pricing page (RapidAPI.com/cloud-actions-…) and click on the β€œSubscribe” button of the Basic plan. The basic plan of Facial Em...
Step 2: Test the API on RapidAPI Playground πŸ§ͺ

The Facial Emotion Recognition API has only one endpoint that allows us to make a POST request using the image URL.

Add image URL inside source and URL inside sourceType parameter.

Great, click on the β€œTest Endpoint” button. Make an API call after addi...
Read 17 tweets
21 Sep
Top five Geocoding and Location APIs you can use in your next full-stack application.

🧡 πŸ‘‡πŸ»
1️⃣ Boundaries-io

- A swift & straightforward API that will allow you to integrate multiple GeoJson US boundaries results into your apps and systems.

πŸ”— RapidAPI.com/VanitySoft/api…

πŸ“ˆ Popularity: 9.7/10
πŸ•› Latency: 712ms
βœ… Service Level: 100%
2️⃣ GeoDB Cities

- Get global city, region, and country data. You can filter and display results in multiple languages.

πŸ”— RapidAPI.com/wirefreethough…

πŸ“ˆ Popularity: 9.9/10
πŸ•› Latency: 172ms
βœ… Service Level: 100%
Read 6 tweets
16 Sep
Here are ten widely used HTTP headers:

πŸ”Ή Accept
πŸ”Ή Accept-Encoding
πŸ”Ή Authorization
πŸ”Ή Accept-Language
πŸ”Ή Content-Type
πŸ”Ή Content-Location
πŸ”Ή Content-Encoding
πŸ”Ή Content-Length
πŸ”Ή Content-Language
πŸ”Ή Cache-Control

Let's talk about them in a bit more detail πŸ§΅πŸ‘‡πŸ» Introduction to HTTP headers
Client and server can pass the extra bit of information with the request and response using HTTP headers.

HTTP headers are not case-sensitive.
The HTTP headers are divided into four categories:

1️⃣ Request headers: Client to Server

2️⃣ Response headers: Server to Client

3️⃣ Representation headers: Information about the body of the resource

4️⃣ Payload headers: Information about the payload data
Read 13 tweets
16 Sep
Check out these five amazing Text Analysis APIs. πŸ†Ž

Feel free to use them in your next application.

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

- Enter a string to check the positive or negative tone.

πŸ”— RapidAPI.com/twinword/api/s…

πŸ’° Freemium
πŸ“ˆ Popularity: 9.6/10
πŸ•› Latency: 342ms
βœ… Service Level: 100%
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…

πŸ’° Freemium
πŸ“ˆ Popularity: 9.6/10
πŸ•› Latency: 438ms
βœ… 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!

:(