So I'm playing around with all of the Sonos web API stuff, and one of the things they have is the ability to subscribe to events. A subscription will cause their cloud to HTTP Post every time an event occurs for something you've subscribed to.
But here's the rub... you have to set up the "Event Callback URL" on their developer page... and it does NOT accept query parameters. I've tried both with and without URL encoding. Neither work. I've emailed them about this but haven't heard anything from them.
In the meanwhile... does anyone know if it's possible to somehow pass my state.accessToken as a URL parameter instead of a query parameter? The hubUID is passed as a path parameter when using the cloud endpoint for Hubitat, and Sonos is fine with that. But anything after "?" (or %3D) causes them to reject the URL.
Is it possible to pass this as part of the path? I've tried something like this, but it doesn't seem to work: "${getHubUID()}/apps/${app.id}/${state.accessToken}/yourWebserviceNameHere"
I was hoping there was maybe some alternate URL schema available that isn't documented that allows passing the accessToken in path rather than query.
And if not, could perhaps this be added ?