woubuc's forum posts

Avatar image for woubuc
#1 Edited by woubuc (4 posts) - - Show Bio

When I do a search through the website's search bar, it works fine and the first result is always the one I want. However, with the search API it often gives me the wrong issue.

A query to https://comicvine.gamespot.com/api/search/?format=json&resources=issue&limit=1&query=Life%Is%Strange%20%232 ('Life Is Strange #2' query) gives me the 3rd issue instead of the 2nd. But when I enter the same thing on the site, the first result is issue #2, as expected.

What should I do to make the search API give me the correct result?

Avatar image for woubuc
#2 Posted by woubuc (4 posts) - - Show Bio

I'm running into issues when making requests from a webpage. Because the API (or at least the search route) hasn't added any CORS headers, the browser blocks all requests.

Can CORS headers be added?