← All API Flashcard Decks

REST API Fundamentals Flashcards

6 cards from real API practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 REST API Fundamentals flashcards as text
  1. Which HTTP status code means 'No Content' after a successful DELETE?

    Answer: 204

    204 No Content is commonly returned after a successful DELETE when there is no body to return.

  2. What is an API endpoint?

    Answer: A specific URI where an API can be accessed

    An API endpoint is a specific URL at which an API can be accessed and interacted with.

  3. Which HTTP header specifies the format of the request body?

    Answer: Content-Type

    The Content-Type header tells the server what format the request body is in, such as application/json.

  4. What does CRUD stand for in API testing context?

    Answer: Create, Read, Update, Delete

    CRUD stands for Create, Read, Update, Delete — the four fundamental operations for persistent storage.

  5. Which HTTP header indicates what response media types the client can accept?

    Answer: Accept

    The Accept header tells the server which content types the client can process in the response.

  6. What is the purpose of query parameters in a REST API URL?

    Answer: Filter, sort, or paginate results

    Query parameters are appended to the URL after '?' to filter, sort, search, or paginate API results without changing the resource path.