Back

How trigger Appwrite functions through API with payload

  • 0
  • Self Hosted
  • Functions
loup
9 Nov, 2024, 22:52

Okay there is the thing. Im using Supabase as main backend, but self host Supabase is a hell and edge functions are just bad. So I wanna use Appwrite functions instead. I have a webhook in Supabase which gonna call appwrite functions through HTTP request. But Apprite read the body with a sub object body in the body request... But I cannot change that in Supabase to send the body in sub object. So how can I do ? Why Appwrite use sub object ? Thx !

TL;DR
You can trigger Appwrite functions through API with payload by sending the body in a sub-object. Appwrite reads the body using a sub-object in the request, so ensure the data is formatted correctly. Unfortunately, you cannot change this in Supabase.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more