Searchโ€ฆ
๐Ÿˆ
Cat
get
https://night-api.com/v1
/images/cat
Get a cat image
1
const axios = require("axios");
2
โ€‹
3
axios.get('https://night-api.com/v1/images/cat', {
4
headers: {
5
authorization: "Your API token"
6
}
7
})
8
.then(function (response) {
9
console.log(response.data);
10
})
Copied!
Last modified 1mo ago
Export as PDF
Copy link