De ProOriginal post
React Developer
Hi Appwrite team,
I have created a function and I want it to receive and incoming post request from a webhook( a webhook that notifies the function to update the database after initiating a payment), but I can't find any option to enable an HTTP endpoint in the function settings. I want to receive raw POST requests without headers like X-Appwrite-Project(since the third party doesn't have that). How can I expose a public URL for my function that third-party services can call directly?
Thanks in advance!
Summary
Developer wants to enable HTTP access to an Appwrite function to receive raw POST requests from a webhook. They are looking for a way to expose a public URL for the function. The solution is to use the "Execute Function" API endpoint and set the parameter `exec` to true to allow it to act as an HTTP endpoint.