+ 1
Why doesn't xmlhttprequest or fetch requests to apis work on sololearn? (JavaScript)
I wrote a code which includes fetching data from an api. And it works on browser but it doesn't work as intended on code playground
2 Respuestas
+ 2
Show your code!
+ 2
Shubham Gaikwad
You can use both XMLHttpRequest and fetch on code playground, there hundreds of projects created by other community members, and their projects work as intended.
https://code.sololearn.com/WU7jABb2XsHN/#html
If you want to show your code, someone may be able to help with your problem.