How do I pass a string (with spaces) to an internet cloud endpoint (cloud.hubitat.com)?

Excerpt from Rule Machine API

Set Hub Variable

A Hub Variable can be set by an endpoint trigger. The format for the parameter is this:

/setHubVariable=varName:varString

The varString portion is assumed to be URL encoded, and is URL decoded before being stored into the varName Hub Variable.

2 Likes