Trouble with CORS policy

Avatar image for whatsup_danger
#1 Edited by whatsup_danger (2 posts) - - Show Bio

Hi all, I've just started working with this API and I am having accessing the information. All of my requests have been blocked with the error below. I'm trying to make a simple JS app to retrieve info on different characters. Can anyone recommend a possible solution?

Access to fetch at '[key]&format=json&sort=name:asc&filter=name:Walking%20Dead' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Thanks for your help!