I am trying to call external API from edge function. Very simple test: const response = await fetch("https://MYURL/q/id?id=38715442"); console.log(JSON.stringify(response));
I get "TypeError: error sending request for url" error.
The API works fine when I test it from Postman or curl.
I am using a free tier of supabase. Could this be causing the issue? Alternatively, is there a way to check if supabase is able to resolve MYURL?
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.