Call hubitat URL with post to turn switch on or off

ha easy, awesome. Thank you!
Get the commands:
http://192.168.1.147/apps/api/89/devices/87/commands?access_token=xxx

Then build you command:
http://192.168.1.147/apps/api/89/devices/[Device ID]/[Command]/[Secondary value]?access_token=xxx

like

http://192.168.1.147/apps/api/89/devices/87/on?access_token=xxxx