{
status: 400,
content: 'Clรฉ invalide'
}
{
"status": 200,
"content": {
"id": 11,
"url": "https://cdn.night-api.com/api/images/animals/singes/8qNt9tHHyQePblna9Xc7vDBKC2vl7a.png"
}
}
const axios = require("axios");
axios.get('https://api.night-api.com/images/animals/singes', {
headers: {
authorization: "Your API token"
}
})
.then(function (response) {
console.log(response.data);
})