How to use the HTTP API For Supabase to GET / POST data and return records?
I am struggling to use the Supabase http api, and looking for some more detailed documentation — for example, the required headers for different types of requests. (It took me a long time of searching to realize that a 'PREFER' header is required to try and return a record while inserting, is there any official documentation for requirements like that?
As an example, in a Netlify function, I am trying to make a POST request work. When the function is structured like this:
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.