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

Mind map

Part 2: DAD JOKES API

hok him sit English

Map content

Part 2: DAD JOKES API

  1. Calling API

    • Authentication
      • Not requiered
    • custom user agent
      • set a custom "user-agent" header for the code
        • For example: curl -H "User-Agent: My Library (https://github.com/username/repo)" https://icanhazdadjoke.com/
        • Setting a custom User-Agent header for your code allows for better monitoring of theusage of the API and identify potential bad actors.
    • API response format
      • Accepted "accept" header
        • text/html
          • HTML response (default response format)
        • application/json
          • JSON response
        • text/plain
          • Plain text response
  2. end points

    • fetch dad joke as an image
      • /j/<joke_id>.png
    • search for dad joke
      • /search
      • page
        • which page of results to fetch (default: 1)
      • limit
        • number of results to return per page (default: 20) (max: 30)
      • term
        • search term to use (default: list all jokes)
    • GraphQL
      • /graphql
    • fetch a random dad joke as a slack message
      • /slack
    • fetch a random dad joke
      • /
  3. fetch a specific dad joke

    • /j/<joke_id>

Information

Description
Mind Map on Part 2: DAD JOKES API, created by hok him sit on 03/10/2023.
Created by
hok him sit
Views
3
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?