Searchโ€ฆ
๐Ÿ•
Dog
get
https://night-api.com/v1
/images/dog
Get a dog image
1
const axios = require("axios");
2
โ€‹
3
axios.get('https://night-api.com/v1/images/dog', {
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