You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
Hello,
I have correctly added the lib, this is my query ;
I run into this error :
The text was updated successfully, but these errors were encountered: