BarbieAsian - how do i make an API call to a su...
how do i make an API call to a supabase function? I have the variable to pass its just one variable.
Please provide examples. I am having trouble with the buildship syntax.
Solution:Jump to solution
Hi @BarbieAsian You can refer to the example in this video, it makes a POST request to update a Supabase Row with variable from the request body. https://www.youtube.com/watch?v=oUQKbzdajII
BuildShip + Rowy
YouTube
Supabase Cloud Functions with No Code Visually
Learn how you can create a cloud function for Supabase without using any code and using a low-code visual backend builder with AI.
Get started with BuildShip 👉 https://buildship.com
💬 Chat and build together with a community of no-code/low-code developers: https://buildship.com/discord
🐦 Tweets: https://twitter.com/buildshipapp
Creating and I...
8 Replies
Method: POST
URL: https://your-project-id.supabase.co/rest/v1/rpc/increment_message_count
Body: { "model_id": "your-model-id-here" }
the model ID is a variable from a row in supabase that i have already queried earlier in the action flow, so i can use that
Solution
Hi @BarbieAsian You can refer to the example in this video, it makes a POST request to update a Supabase Row with variable from the request body. https://www.youtube.com/watch?v=oUQKbzdajII
BuildShip + Rowy
YouTube
Supabase Cloud Functions with No Code Visually
Learn how you can create a cloud function for Supabase without using any code and using a low-code visual backend builder with AI.
Get started with BuildShip 👉 https://buildship.com
💬 Chat and build together with a community of no-code/low-code developers: https://buildship.com/discord
🐦 Tweets: https://twitter.com/buildshipapp
Creating and I...
??
whats the syntax
why is this asking me for a key when i already put it in the authorization
i just dont understand why buildship is so difficult to use, i use the same settings in postman and it works
ugh thats it im done with using buildship
You can hover over red error dot, it will help you to see and resolve the syntax error: For this case it should be.
The format or type may be different for authorization when you test in Postman, you can check if it requires bearer or anything else and update the secret, also the error says it is missing requesd params.