help understanding luup commands internally vs externally

Greeting all:

Could any please help me understand the syntactical difference of a Luup command entered internally (Luup code entered as a scene) vs those entered as a http command on port 3480. There is a nice explanation for internal commands at
and one external example for the thermostat

but I can’t figure out how to convert one to the other. Or is there some examples of switched/dimmers as http:3480 commands.

Many thanks

Have a read of this I’m the wiki.