Meister der Magie | MartinOriginal post
Rank 1: Thread
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?
Summary
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.