---
title: "Discussion on \"API fetch() - Promise chaining or async/await?\" | Hashnode"
description: "Discussion on \"API fetch() - Promise chaining or async/await?\". Topics:\n\nTry/catch/finally\n\nPromise chaining\n\nAsync/await\n\nJSON\n\nFetch\n\nAPI calls\n\n\nTry/catch/finally\nOften used to check data-processing code that fails with incorrect input, it has three components: a try-block, a catch-block, and (as needed) a fin..."
url: "https://hashnode.com/posts/api-fetch-promise-chaining-or-async-await/6579ff71bd71f3bb03b63715"
---

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

Discussion

# [API fetch() - Promise chaining or async/await?](https://modular.hashnode.dev/api-fetch-promise-chaining-or-async-await?utm_source=hashnode&utm_medium=feed)

Topics: Try/catch/finally Promise chaining Async/await JSON Fetch API calls Try/catch/finally Often used to check data-processing code that fails with incorrect input, it has three components: a try-block, a catch-block, and (as needed) a fin...

Dec 13, 2023 · 7 min read · modular.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Paul O.](https://hashnode.com/@epaulo)

@epaulo · Vancouver, CA

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

Continually improving my web development skills... a lifetime pursuit.

## Responses 2

Markdown supported · ⌘↵ to post

[David Mora](https://hashnode.com/@davMora)

[Dec 14, 2023](https://hashnode.com/posts/api-fetch-promise-chaining-or-async-await/6579ff71bd71f3bb03b63715/comment/657afe2dd69ca11ab78342ea)

great article Paul!!!
