Mapa mental
Part 2: DAD JOKES API
Contenido del mapa
Part 2: DAD JOKES API
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.
- set a custom "user-agent" header for the code
- API response format
- Accepted "accept" header
- text/html
- HTML response (default response format)
- application/json
- JSON response
- text/plain
- Plain text response
- text/html
- Accepted "accept" header
- Authentication
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
- /
- fetch dad joke as an image
fetch a specific dad joke
- /j/<joke_id>
Información
- Descripción
- Mapa Mental sobre Part 2: DAD JOKES API, creado por hok him sit el 03/10/2023.
- Creado por
- hok him sit
- Visitas
- 3
- Valoración