Random Joke -
Authentication:
An API Key is required and is provide by RapidAPI
API response format:
All API endpoints follow their respective browser URLs, but we adjust the response formatting to be more suited for an API based on the provided HTTP header.
Accepted Accept
headers:
- application/json - JSON response (default response format)
Endpoint:
GET /random/joke
Fetching a random as joke as JSON
:
{
"success": true,
"body": [
{
"_id": "5f80ccd641785ba7c7d27c18",
"type": "general",
"setup": "What do you call a fashionable lawn statue with an excellent sense of rhythmn?",
"punchline": "A metro-gnome"
}
]
}