Hello, i wan’t to your API:
https://rapidapi.com/collectapi/api/gas-price
With this endpoint: europeanCountries
But it seems that not working properly.
I just testing with a request like this (as the example in your sandbox):
const axios = require(‘axios’);
const options = {
method: ‘GET’,
url: ‘https://gas-price.p.rapidapi.com/europeanCountries’,
headers: {
‘X-RapidAPI-Key’: ‘XXXXXXX’,
‘X-RapidAPI-Host’: ‘gas-price.p.rapidapi.com’
}
};
try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}
And i receive the following error:
{ “success”: false, “message”: “Internal Error. Please check required parameters.” }
Could you help me please?
Thank you!
Junte-se à discussão - adicione o comentário abaixo:
It works now,
Thank you very much!
Best regards.
Hello,
We are checking it. It will be resolved.
Thanks