DEMO: Command Line
In different operating systems, you can install the wget and curl tools, and then you can call the Director Mini API from the command line by wget or curl commands.
The cookie file in the following example is stored in a different location in different operating systems, so please modify it according to the actual situation.
wget
Switch scenes by index.
wget "http://10.10.3.21:8080/V1.0/scene/switchByIndex?index=0" -q -O -
Switch to the next scene.
wget "http://10.10.3.21:8080/V1.0/scene/next" -q -O -
curl
Switch scenes by index.
curl "http://10.10.3.21:8080/V1.0/scene/switchByIndex?index=0"
Switch to the next scene.
curl "http://10.10.3.21:8080/V1.0/scene/next"