React Axios error 403 forbidden api get request

hi,i am working locally on a website,i have to do a get api request,i am using axios module, but there is an error, the console show a 403 error “(forbidden)” i think that it has something to do with CORS but i didn’t succed to fix it,i have to use headers,here is the code:

var headers = {
            'X-RapidAPI-Host': '',
            'X-RapidAPI-Key' : 'c7ff39f1ccmsh87edde31cc65e31p12da7ajsn4e97b9ad7a1e',

     	headers: headers,
     	withCredentials: true 
            .then((response) => { console.log(response) } )

Try using proxies to get by apps forbidden by cors.

Actually i tried using proxies it didn’t work too,the console shows the same error