Hey,
Command const response = UrlFetchApp.fetch(**https://seo-api.p.rapidapi.com/v1/search/q=site:${url},** options); doesn’t work. Return “Error”
**https://seo-api.p.rapidapi.com/v1/search/q=site:${url}
Thanks a lot!
Hello,
Please make sure you’re url encoding the query.
const response = UrlFetchApp.fetch(https://seo-api.p.rapidapi.com/v1/search/q=site:${encodeURIComponent(url)}, options)
Únase a la conversación, añada un comentario a continuación:
Thanks a lot!
Hello,
Please make sure you’re url encoding the query.
const response = UrlFetchApp.fetch(https://seo-api.p.rapidapi.com/v1/search/q=site:${encodeURIComponent(url)}, options)