Skip to content

Grammar errors in 'How Does the Fetch API Work with Common HTTP Methods and res.json()?' lecture #67470

Closed
Cici-cyx/freeCodeCamp
#1

Description

@majestic-owl448

Describe the Issue

The lecture description contains several grammar errors:

  1. "we will discuss about the GET, POST, PUT and DELETE HTTP methods" — "discuss about" is incorrect; should be "discuss the". Also missing Oxford comma before and.
  2. "you cannot use this data directly, you have to convert the response to a JSON format." — Comma splice; needs a period or semicolon.
  3. "Here's an example of a POST method which is used to create data into the server" — "create data into the server" is incorrect; should be "create a resource on the server".
  4. "We used the PUT method on the code" — should be "in the code".
  5. "url" (lowercase) should be "URL".

Affected Page

https://www.freecodecamp.org/learn/javascript-v9/lecture-understanding-asynchronous-programming/how-does-the-fetch-api-work-with-common-http-methods-and-res-json

Your code


Expected behavior

  • "we will discuss about the GET..." → "we will discuss the GET..."
  • "GET, POST, PUT and DELETE" → "GET, POST, PUT, and DELETE"
  • "you cannot use this data directly, you have to convert the response to a JSON format." → "you cannot use this data directly; you have to convert the response to a JSON format."
  • "create data into the server" → "create a resource on the server"
  • "on the code" → "in the code"
  • "url" → "URL"

Activity

  1. added
    help wanted
    scope: curriculum
    status: waiting triage
    js v9 cert
    lesson
    and removed
    help wanted
    on May 20, 2026
  2. majestic-owl448 commented on May 20, 2026

    @majestic-owl448
    ContributorAuthor

    these are the lines that need to be updated:

    In the previous lesson, we saw what the Fetch API is and how to use it. In this lesson, we will discuss about the `GET`, `POST`, `PUT` and `DELETE` HTTP methods of Fetch API.

    In this code, we're making a `GET` request to `https://api.example.com/data`. Now, please note that you cannot use this data directly, you have to convert the response to a JSON format. Only then you can use it anywhere you want in your project. Here’s an example of how to do it:

    So far we have been retrieving resources from a server. But, did you know that we can also send data to the server? The `POST` method is used to send data to a server to create a resource. Here’s an example of a `POST` method which is used to create data into the server:

    In this example, look carefully at the URL, you can see a `45` at the end. This is typically used as a unique ID to identify the data we are trying to update. We used the `PUT` method on the code and also specified the data as the `body` which will be used to update the identified data.

    In this code, we are including the `DELETE` method and an ID at the end of the url to identify the data which needs to be deleted.


    This looks like something that can be fixed by "first-time" code contributors to this repository.

    Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or our forum if you need help contributing; our moderators will guide you through this.

    Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first.

    Happy contributing.

  3. added
    first timers only
    and removed
    status: waiting triage
    on May 20, 2026
  4. mahavirkunwar commented on May 20, 2026

    @mahavirkunwar

    I would like to work on this issue!

  5. added a commit that references this issue on May 20, 2026
    5723896
  6. Anand2k29 commented on May 20, 2026

    @Anand2k29

    Hi, I would like to work on this issue. May I please be assigned to it?

  7. Jeevankumar-s commented on May 20, 2026

    @Jeevankumar-s
    Member

    Hi, I would like to work on this issue. May I please be assigned to it?

    We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.

    Issues labeled with help wanted or first timers only are open for contributions.

    Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.

  8. added
    status: PR in works
    and removed
    first timers only
    on May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    js v9 certlessonscope: curriculumstatus: PR in works

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions