3 ms·
I was trying Supabase on a toy project in Elm, ran into a weird CORS error. Even in React when using supabase-js the api call works, but using `fetch` (copied f
by girishso 5y ago
I was trying Supabase on a toy project in Elm, ran into a weird CORS error. Even in React when using supabase-js the api call works, but using `fetch` (copied from chrome dev console) in dev console fails with CORS error. Supabase-js does something, which is not visible in the dev console.
Asked on Discord on two different channels after googling it for a while, no response whatsoever.
Supabase seems like a fine project, but without someone answering these kind of queries it's impossible to use.
- kiwicopple 5y ago> Supabase-js does something, which is not visible in the dev console the JS client doesn't do anything special - it just makes a Fetch request to a URL. You can find the cURL request inside your custom docs (inside the dashboard). Under the hood we use PostgREST: https://postgrest.org https://postgrest.org