๐ID
Choose a specific joke by its ID
SFW Images
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"status": 200,
"content": {
"id": 34,
"type": "holo",
"url": "https://cdn.night-api.com/api/images/sfw/holo/75f9fcb764921bfaedc9e4182db02.jpg"
}
}{
"status": 400,
"content": "Bad type provided"
}const axios = require("axios");
axios.get('https://api.night-api.com/images/sfw/5', {
headers: {
authorization: "Your API token"
}
})
.then(function (response) {
console.log(response.data);
})Last updated
Was this helpful?
