This is a simple Node.js backend using Express. It exposes an API endpoint to start a script, accepting a single string argument.
- Install dependencies:
npm install
- Start the server:
node index.js
- Body:
{ "argument": "<string>" } - Description: Starts a script with the provided string argument.
curl -X POST http://localhost:3000/start-script -H "Content-Type: application/json" -d '{"argument": "hello world"}'