RapidAPI Profile picture
Feb 18 β€’ 10 tweets β€’ 2 min read
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.
Let's try to understand the syntax of sending requests using curl.

We are using HTTP protocol as it is widely used.
To send a request at a particular URL, you need to write the `curl` command followed by the URL.

For example πŸ‘‡πŸ» HTTP GET request to http://exmaple.com using curl library.
Not just simple GET requests, you can send all the HTTP requests using curl with HTTP headers and body.
How you can attach headers and other useful information in requests?

This is where curl options come into play.
Options give you the flexibility of passing an extra bit of information.

There are over 200 options but a few of them are widely used.

Options start with one (-) or two (--) dashes. Widely used curl options.
You can either specify an option using a single or double dash.

List of curl options: gist.github.com/eneko/dc2d8edd…

Here is the syntax of making API calls using curl with the verbose option. πŸ‘‡πŸ» curl verbose option.
With that being said, this is pretty much it for this brief introduction to curl.

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 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
Feb 16
An HTTP cache is crucial for making your website fast.

Let's discuss everything about HTTP cache in a bit more detail.

Thread πŸ§΅πŸ‘‡πŸ»
Most websites you visit fetch data from the backend to display it on the web page.

Continuous calls to the server can make your website slow and hence worst User Experience.
This is where cache comes into the picture.

Cache is a technique using which the browser can store the resources in the local storage, reducing the number of round trips to the server.
Read 14 tweets
Feb 15
What exactly is an HTTP Cookie.

Thread πŸ§΅πŸ‘‡πŸ»
Have you ever imagined how you stay logged in even after you close the tab?

Or how do items stay in your cart when you refresh or close a tab?

The answer is cookies.
HTTP cookies, also known as web cookies or browser cookies, are nothing but a piece of data that the server sends to the browser.
Read 16 tweets
Feb 14
Top ten 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…
2️⃣ Currency Converter

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

πŸ”— RapidAPI.com/natkapral/api/…
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

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!

:(