mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-14 07:00:51 -04:00
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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user