---
title: "Discussion on \"Everything you need to know about fetch\" | Hashnode"
description: "Discussion on \"Everything you need to know about fetch\". Using Fetch()\n\nfunction getData() {\n    fetch(url)\n    .then(response => {\n        //function for when the response is received\n    })\n\n\n}\ngetData()\n\nThe code above shows how you would make a get request using Fetch(). When we make a request to a url..."
url: "https://hashnode.com/posts/everything-you-need-to-know-about-fetch/62564c83b32ddd968bbeca4f"
---

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

Discussion

# [Everything you need to know about fetch](https://kadeesterline.hashnode.dev/everything-you-need-to-know-about-fetch?utm_source=hashnode&utm_medium=feed)

Using Fetch() function getData() { fetch(url) .then(response => { //function for when the response is received }) } getData() The code above shows how you would make a get request using Fetch(). When we make a request to a url...

Apr 13, 2022 · 7 min read · kadeesterline.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Kade Esterline](https://hashnode.com/@kadeesterline)

@kadeesterline

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
