---
title: "Discussion on \"Fetch VS Axios | Make Https Requests like a pro.\" | Hashnode"
description: "Discussion on \"Fetch VS Axios | Make Https Requests like a pro.\". Fetch VS Axios"
url: "https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fetch VS Axios | Make Https Requests like a pro.](https://hemant.hashnode.dev/fetch-vs-axios-or-make-https-requests-like-a-pro?utm_source=hashnode&utm_medium=feed)

Fetch VS Axios

Mar 26, 2021 · 9 min read · hemant.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#full-stack](https://hashnode.com/tag/full-stack)

## Written by

[Hemant Joshi](https://hashnode.com/@mayhemant)

@mayhemant · India, Nainital

  
[View profile](https://hashnode.com/@mayhemant)

Javascript Developer | NExt Js | PErn + MErn

Javascript lover

## Responses 12

Markdown supported · ⌘↵ to post

[Harshad](https://hashnode.com/@harshad109)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/6060812738b0e14f092a3908)

haha, you made me pro but don't mind I use graphql

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/6060812738b0e14f092a3908#reply-606081ec38b0e14f092a3964)

lol, useQuery please

[Avnni](https://hashnode.com/@avni)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/60607fa35aa4944ee40f9e99)

Axios any day.

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/60607fa35aa4944ee40f9e99#reply-606081e05aa4944ee40f9f5f)

Axios is also awesome, but the one I hate is the error handling.

[stegmann](https://hashnode.com/@stegmann)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/60607ec338b0e14f092a3834)

Lol, I get stuck with error handling in Axios, it isn't promise-based.

I love fetch

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/60607ec338b0e14f092a3834#reply-606081bd38b0e14f092a3958)

yup, try-catch is only way

[Kingsley Ubah](https://hashnode.com/@UbahTheBuilder)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/6060683d5aa4944ee40f9ca6)

This is a brilliant piece, welldone!

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 28, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/6060683d5aa4944ee40f9ca6#reply-6060780f38b0e14f092a37b4)

Thanks a lot man!

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605e23825aa4944ee40f76e3)

Sooo good you compared them well.

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605e23825aa4944ee40f76e3#reply-605e24a938b0e14f092a1163)

Glad you liked. Thanks.

[Dhia Bela](https://hashnode.com/@bela773)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605de7c243029d4a5fb6388c)

Really awesome, just saw it on twitter.

Keep the good work up

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605de7c243029d4a5fb6388c#reply-605de8848954844a3a992b4e)

wow, thanks a lot

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605de6668954844a3a992a8c)

Hii, Everyone looking to hear whats your favorite one. Also Really Thankful for the read.

[Steezy](https://hashnode.com/@steezy)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd2008954844a3a992832)

I don't agree completely, cause you can cache requests from Axios too, by converting into string and setting back to browser cache.

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd2008954844a3a992832#reply-605dd26543029d4a5fb6363d)

Would agree, also i read about vercel/swr which is really awesome

[Max](https://hashnode.com/@max12)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd15343029d4a5fb635fb)

Axios is awesome, you dont have to parse data.

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd15343029d4a5fb635fb#reply-605dd27043029d4a5fb63645)

Thanks, good luck.

[Khasti Devi Joshi](https://hashnode.com/@Khasti)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd0dd8954844a3a9927b3)

Awesome.

Also read about Swr from Vercel, which is awesome with caching etc.

[Hemant Joshi](https://hashnode.com/@mayhemant)

[Mar 26, 2021](https://hashnode.com/posts/fetch-vs-axios-or-make-https-requests-like-a-pro/605db3cc8954844a3a992424/comment/605dd0dd8954844a3a9927b3#reply-605dd23e8954844a3a992846)

Thanks, i have heard about it and will surely use it
