BBAzn
BBAzn7mo ago

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:
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...
No description
Jump to solution
8 Replies
BBAzn
BBAzn7mo ago
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
Gaurav Chadha
Gaurav Chadha7mo ago
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...
No description
BBAzn
BBAzn7mo ago
??
No description
BBAzn
BBAzn7mo ago
whats the syntax why is this asking me for a key when i already put it in the authorization
BBAzn
BBAzn7mo ago
No description
BBAzn
BBAzn7mo ago
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
Gaurav Chadha
Gaurav Chadha7mo ago
You can hover over red error dot, it will help you to see and resolve the syntax error: For this case it should be.
No description
Gaurav Chadha
Gaurav Chadha7mo ago
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.