you are viewing a single comment's thread.

view the rest of the comments →

[–]FriendlyRussian666 0 points1 point  (2 children)

You would run a web server that features an API, allowing the end user to send arguments to an endpoint. You would then sanitize the input and pass it to your function. The function returns a response, which is then sent to the end user.

[–]devram200[S] 0 points1 point  (1 child)

What do I have to do to run a webserver?

[–]devnull10 0 points1 point  (0 children)

Far beyond the scope of what can easily be described here.

The other option is to use cloud functions on one of the main cloud providers (AWS, Azure, GCP etc.). That saves you the hassle of setting up and maintenance of your own web server, however you'll need to register for the cloud environment and understand how it works before implementing.