-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello,
I have correctly added the lib, this is my query ;
//Show one Season
footballdataFactory.getSeason({
id: '<SEASON_ID>',
protocol: 'auto', // (optional) 'http', 'https', 'auto'
apiKey: '4d5e1374b3df4071827db1e3ccd1af17', // Register for a free api key: http://api.football-data.org/register
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
I run into this error :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.football-data.org/v1/soccerseasons/%3CSEASON_ID%3E?apiKey=4d5e1374b3df4071827db1e3ccd1af17. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.football-data.org/v1/soccerseasons/%3CSEASON_ID%3E?apiKey=4d5e1374b3df4071827db1e3ccd1af17. (Reason: CORS request did not succeed).[Learn More]
Metadata
Metadata
Assignees
Labels
No labels