FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13290 questions

15786 answers

25494 comments

50092 members

+1 vote
265 views 1 comments
by

Hello,

is there an equivalent on the RutOS on RUT955 to the luci-app-commands to easily create webhooks?

Or what is the best way to trigger a script via http?

Sorry, if i might be missing something :)

Edit: I think i just found the answer myself:

You can put scripts in /www/cgi-bin/ directory and execute them like this: http://192.168.1.1/cgi-bin/script

This way you will be able to execute commands through URL.

1 Answer

0 votes
by

Hello,

Was this approach with the /www/cgi-bin/ work fine for you?

by
Yes, works great. I use it to trigger a script that switches the outputs via softbutton of a Mobotix camera.