Back

functions best practice: url vs createExecution

  • 0
  • Functions
  • Web
  • Cloud
devo_wm
16 Sep, 2024, 09:00

I'm running a node function that uses AppExpress to serve my client web application(s).

Generally speaking it is better to directly hit the function url or to run the web sdk's createExecution method?

I'm hoping to hit the url directly so that I can test my client applications against a running local function as desribed here: https://www.appwrite.io/blog/post/announcing-local-development

TL;DR
Developers are discussing the best practice between hitting a function URL directly or using the createExecution method from the web SDK in a node function running AppExpress to serve client web applications. The user prefers hitting the URL directly for testing purposes.
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