NARCISO
07/19/2022, 10:19 AMlocally hosted Edge Function inside a PSQL Function with the pgsql-http extension?
I tried to POST the local Edge Function and I got *connection refused*: "Failed to connect to localhost port 54321: Connection refused"
Database function extracted:
BEGIN
...
SELECT status FROM http_post('http://localhost:54321/functions/v1/<functionname>', ...);
...
END
Is there maybe a Docker alias of the Edge Function service?Needle
07/19/2022, 10:19 AMScott P
07/19/2022, 1:22 PMsupabase-functions) and use that as in your postgres function.NARCISO
07/19/2022, 2:28 PMsql and then I forgot about this one.NARCISO
07/19/2022, 2:31 PMhost ip is super fine for local development!Needle
07/19/2022, 2:31 PM