Hello! Unfortunately the recipes/list
and recipes/list-similarities
endpoints return the empty string “” instead of expected data. Please fix this!
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://tasty.p.rapidapi.com/recipes/list',
params: {
from: '0',
size: '20',
q: 'Holiday',
sort: 'approved_at:asc'
},
headers: {
'X-RapidAPI-Key': '<X-RapidAPI-Key>',
'X-RapidAPI-Host': 'tasty.p.rapidapi.com'
}
};
try {
const response = await axios.request(options);
console.log(response.data); // ""
} catch (error) {
console.error(error);
}
Join in the discussion - add comment below:
Thank you! Now it is working correctly.
Hello,
Please check this screenshot https://prnt.sc/ljNUSlII63zY https://prnt.sc/4f5HT2435yQ3
Recently, there is a serious issue with RapidAPI proxies that they do not forward the response data from our servers. I reported the issue to RapidAPI and here is their reply :
https://prnt.sc/-mmcUSS5HJL_ In the meantime, you have to wait for them to fix the issue.
Regards.