Site
Home / Forum / Developers / [SOLVED] please solve <No 'Access-Control-Allow-Origin' header > Problem..

[SOLVED] please solve <No 'Access-Control-Allow-Origin' header > Problem..


Posted: 04 Feb 2018 02:11

zag


Posts: 3,527
Joined: 2020

I got my API Key for web develop.

in my app, api request does not working.

development api key 1 and my api key both.

this is error message.

Failed to load https://www.thesportsdb.com/api/v1/json/ ... soccer.php: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:3000' is therefore not allowed access.

help me

Posted: 04 Feb 2018 10:52

zag


Posts: 3,527
Joined: 2020

You're dealing with cross-domain requests.
Error is telling about missing headers. So why don't you add them?

Posted: 04 Feb 2018 12:13

zag


Posts: 3,527
Joined: 2020

I've just enabled CORS on all the webserver backends, thanks for the request

Let me know if it works.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 3 (Total: 3)