โ† 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. What does API stand for?

    Answer: Application Programming Interface

    API stands for Application Programming Interface, a set of rules and protocols that allows different software applications to communicate with each other.

  2. Which data format is most commonly used in modern REST APIs for data interchange?

    Answer: JSON

    JSON (JavaScript Object Notation) is the most widely used format in REST APIs due to its lightweight structure, human readability, and native support in JavaScript.

  3. What is OAuth primarily used for in web applications?

    Answer: Authorization and delegated access to resources

    OAuth is an open standard for authorization that allows users to grant third-party applications limited access to their resources without sharing credentials.

  4. What does an HTTP status code of 404 indicate?

    Answer: Resource not found

    HTTP 404 (Not Found) means the server could not locate the requested resource at the specified URL.

  5. What is the purpose of an API endpoint?

    Answer: To define a specific URL where an API can be accessed

    An API endpoint is a specific URL that represents a resource or function in an API, serving as the point of contact between an API and the client application.

  6. Which HTTP header is used to indicate the media type of the request or response body?

    Answer: Content-Type

    The Content-Type header specifies the media type (MIME type) of the body in an HTTP request or response, such as 'application/json' or 'text/html'.

  7. What does CORS stand for in web development?

    Answer: Cross-Origin Resource Sharing

    CORS (Cross-Origin Resource Sharing) is a browser security mechanism that controls how web pages can request resources from a different domain than the one that served the page.