chore(curriculum): explain FCC Authors step 2 better (#57045)

Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
Anna
2024-11-22 01:58:22 -05:00
committed by GitHub
parent c5c84bea73
commit b08bd5e0bf

View File

@@ -7,7 +7,11 @@ dashedName: step-2
# --description--
The <dfn>Fetch API</dfn> is a built-in JavaScript interface to make network requests to a server. It has a `fetch()` method you can use to make `GET`, `POST`, `PUT`, or `PATCH` requests. In this project, you'll make a `GET` request to a URL for a JSON file with information about authors on freeCodeCamp News.
In this project we want data about the authors on freeCodeCamp News.
If you want data from an online source, you need use an `API` (Application Programming Interface).
An `API` lets people from outside of an organization retrieve its internal data.
There is a method called `fetch` that allows code to receive data from an `API` by sending a `GET` request.
Here is how you can make a `GET` request with the `fetch()` method: