Brianali-codes / Fresco-wallpapers

my biggest project yet, A wallpaper web app that uses the wallhaven API vanilla javascript html and tailwind css, main content is anime related
https://frescowallpapers.netlify.app/
1 stars 0 forks source link

help: wallhaven api #1

Closed ErKeLost closed 1 month ago

ErKeLost commented 2 months ago

hi Hello, I'm sorry to bother you. I'm also working on a project about wallhaven api recently and I want to ask you a question. How to debug https://wallhaven.cc/api/v1 locally. I encountered a lot of problems locally, but the get request in the browser works normally. Do you have any good solution?

Brianali-codes commented 2 months ago

Hi there. Have you Tried using a cors proxy service or refer to their documentation. At first I was also getting errors related with the cors proxy but I used a service called corsproxy.io and the issue was solved. If the issue still continues there is a tonne of the proxies on the Internet. Also are you using the live server extension it could also be a problem if u aren't using it and if you are getting an error on the console on chrome after launching just forward me the error. If the error is something else kindly forward the screenshot or error to my email plasticfoods427@gmail.com 👍

Brianali-codes commented 2 months ago

If theres any other problem feel free to ask ill try my best to help :)

ErKeLost commented 2 months ago

Owner

Thank you very much for your help. I will try again. If I have any questions, I will come back to ask you. Thank you again for your reply.

Brianali-codes commented 2 months ago

You are welcome and If you wanna collaborate on any projects too you can ask me am also an amateur😊