โ† All CPA Flashcard Decks

Web Development & APIs Flashcards

7 cards from real CPA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Web Development & APIs flashcards as text
  1. Which HTTP method is used to partially update an existing resource?

    Answer: PATCH

    PATCH is used to apply partial modifications to a resource, unlike PUT which replaces the entire resource.

  2. What is the primary difference between cookies and server-side sessions?

    Answer: Cookies are stored on the client side; sessions are stored on the server side

    Cookies are stored in the user's browser (client side), while sessions store data on the server and use a session ID (often stored in a cookie) to identify the user.

  3. What does JSON stand for?

    Answer: JavaScript Object Notation

    JSON stands for JavaScript Object Notation, a lightweight, text-based data interchange format that is easy for humans to read and write and easy for machines to parse.

  4. What is the purpose of the HTTP Authorization header?

    Answer: To provide credentials for authenticating the client with the server

    The Authorization header carries credentials such as bearer tokens or basic auth credentials that authenticate the client making the HTTP request.

  5. What does an HTTP status code of 201 indicate?

    Answer: A new resource was successfully created

    HTTP 201 (Created) indicates that the request was successful and a new resource has been created as a result, typically in response to a POST request.

  6. What is a webhook in web development?

    Answer: An HTTP callback triggered by a specific event that sends data to a specified URL

    A webhook is a user-defined HTTP callback that is triggered by a specific event on the source system, automatically sending data to a configured URL when that event occurs.

  7. What is the purpose of the HTTP DELETE method?

    Answer: To remove a specified resource from the server

    The HTTP DELETE method requests that the server remove the resource identified by the specified URL.