Skip to content
Back

Custom path for functions?

  • 0
  • Self Hosted
  • Functions
  • REST API
Meister der Magie | Martin
7 Nov, 2024, 16:42

I don't quite understand function domains. Is it somehow possible to "link" (sorry if I use wrong terminology, I'm coming from offline desktop app development) a URL path to a function? E.g. https://api.mydomain.com/createStudent?name=JohnDoe would call a custom function that creates a student with a name. Or even without the query. Is this possible? If not, what would be the right way to tackle this?

TL;DR
Developers wanting to link URL paths to functions in their API. They're asking if it's possible to call a function by using a specific URL path, like creating a student with a name through a URL. This is achievable by integrating API endpoints with corresponding functions to handle incoming requests, typically through RESTful routing or server frameworks like Express.js in Node.js.
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