GoConqr has a new look! Let us know what you think.

Mind map

Part 2: IA3

T S English

Map content

Part 2: IA3

  1. Calling the API

    • Authentication
      • There is no authentication required for the icanhazdadjoke API.
    • API response format
      • text/html
        • HTML response (default response format).
      • application/json
        • JSON response
      • text/plain
        • Plain text response
    • Custom User Agent
      • User Agent
        • Definition: Is a request that allows a characteristic string to enable network protocol peers to identify the operating system and browser of the web-server.
        • Includes;
          • Name of the library.
          • URL/e-email
            • Allows someone to be contacted through the library/website.
              • e.g: curl -H "User-Agent: My Library (https://github.com/username/repo)" https://icanhazdadjoke.com/
  2. Endpoints

    • Fetch a dad joke
      • Connect to the database
        • Database sends random joke from list to server
          • Server receives random joke
            • Display programmatically transformed joke
    • Search for dad jokes.
      • User searches for joke
      • Displays page results (e.g: 1-20)
      • Number of results to return per page is limited (e.g: 20 results per page).
      • Term: Search term to use (Default: list all jokes).

Information

Description
Mind Map on Part 2: IA3, created by T S on 19/06/2024.
Created by
T S
Views
2
History
  • Created by Matthew C · Jun 10, 2024
  • Copied by T S · Jun 19, 2024
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?