So, I'm trying to get values from the public pokemon api:
pokeapi.co
I'm using the ajax object with the request action but nothing happens. Also, is there a way of reading which ajax error has occurred? There is not an "Ajax.Error" expression to pass to a text object.
Thanks!
Press F12 in preview and check errors in Browser console.
The most common error with AJAX is related to CORS. If this is the case, try searching the forum - there are many posts about how to fix it.
Develop games in your browser. Powerful, performant & highly capable.
I had it "http://pokeapi.co/..." and it needed to be "https://pokeapi.co/..."