---
title: "Discussion on \"How to use FETCH and REST APIs in Lightning Web Component | Salesforce ☁️⚡️?\" | Hashnode"
description: "Discussion on \"How to use FETCH and REST APIs in Lightning Web Component | Salesforce ☁️⚡️?\". Want to use REST or FETCH APIs. Here I've explained how to use it and when to use it and why."
url: "https://hashnode.com/posts/rest-fetch-api-lwc/62894491929bcf4c721d3827"
---

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

Discussion

# [How to use FETCH and REST APIs in Lightning Web Component | Salesforce ☁️⚡️?](https://locuscoder.com/rest-fetch-api-lwc?utm_source=hashnode&utm_medium=feed)

Want to use REST or FETCH APIs. Here I've explained how to use it and when to use it and why.

May 21, 2022 · 3 min read · locuscoder.com  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#developer](https://hashnode.com/tag/developer)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#apis](https://hashnode.com/tag/apis)

## Written by

[Harshit Saxena](https://hashnode.com/@HarshitSaxena)

@HarshitSaxena · India, Panchkula

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

I express code with words

## Responses 1

Markdown supported · ⌘↵ to post

[ayush choudhary](https://hashnode.com/@ayush985)

[May 23, 2022](https://hashnode.com/posts/rest-fetch-api-lwc/62894491929bcf4c721d3827/comment/628b1cd1929bcf4c721d56d0)

Nice content. Cleared all my doubts regarding this topic. Thanks for the regular uploads. Keep up the good work.👍👍

[Harshit Saxena](https://hashnode.com/@HarshitSaxena)

[May 31, 2022](https://hashnode.com/posts/rest-fetch-api-lwc/62894491929bcf4c721d3827/comment/628b1cd1929bcf4c721d56d0#reply-6295bba6e3ae5fe487204158)

Thanks [ayush choudhary](https://hashnode.com/@ayush985) 😄
