Control Yun REST API put/KEY/VALUE from HTML

Can anyone point me in the direction of an example of how to use the REST API data endpoint to modify a Bridge /KEY/VALUE pair using put in response to an HTML button push.

There are examples that use data/get/KEY, but can't find a put example.

I could achieve something similar using the REST API arduino endpoint, but would prefer to use the data endpoint as the Linux/Python side of my app needs to receive a lot more KEY/VALUE pairs than the Arduino side ever needs to know about.