Something I wrote in order to use as a Amazon Lambda script that will set the volume on my Amazon Echo, and then set it to a local TuneIn radio station.
The csrf token, the cookie, my customerId and the device serial have been redacted, they can be easily copied by intercepting a request from the web interface.