Automation and API

Using the automation layer, I want to set a “solo” button to “true” – I’ve located the “input-values” JSON property I want to change as “tvGroup_Control__Solo_A”. I’m at a bit of a loss on how to use the httpRequest() function to change this value (or any other value). My understanding is that using curl it would be simply:

curl -d ‘{“input-values”:{“tvGroup_Control__Solo_A”:true}}’ -H “Content-Type: application/json” -X PUT “xxxxxxxxx”

where xxxxxxxxx is the full URL of the API endpoint. ***But how do you do the same using the httpRequest() function? Any help for a newbie would be appreciated!