2022-06-30, 14:38
(2022-05-27, 10:45)alienLdnb Wrote: Hey I rly like ur database. I´m a student and want to use it in my homework.Hey there, I don't know if you fixed your error or not. But you need to add https:/ in front of the website. so like this fetch("https:/www.thecocktaildb.com/api/json/v1/1/random.php")
I try to use the test link with a fetch command in JS: fetch("www.thecocktaildb.com/api/json/v1/1/random.php"). But I always get a 404 (Not found).
Isnt the test link available anymore? I cant figure out what I do wrong.
Would be great If someone could help me fast.
Thanks in advance
Me