Axios experiments. Mostly meant as personal exploration, with low value for visitors.
- run
npm install
to restore the packages (seepackage.json
) - In Visual Studio code, open
TimeOutDemo.html
and useOpen with live server
5000 in the request below means that there will be a delay of 5 seconds before the server replies.
https://deelay.me/5/https://...
- I use https://dog.ceo/api/breeds/image/random because it sets
Access-Control-Allow-Origin
to*
(which you see usingcurl -i
or Postman, for example).