U
U
utin2021-02-27 10:18:10
Backend
utin, 2021-02-27 10:18:10

How to run scripts by link like in Google Apps Script?

In Google Apps Script, you can run your scripts by clicking on a link like this https://script.googleapis.com/v1/scripts/{scriptId}:run

How can I do the same on Ubuntu 20.04 VPS for my scripts? To be able to pass in the link the name of the file to be launched and the data to be transferred to it https://site.com/py/script={script_name}&data={data } and one of several scripts would be launched.

Is it possible to make it possible to run scripts in pythone and node.js ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-02-27
@bacon

You can write a web application that parses a request and runs a script in any language that the web knows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question