pyze icon indicating copy to clipboard operation
pyze copied to clipboard

Raw dump of what pyze sends to server

Open jumpjack opened this issue 3 years ago • 0 comments

May I have a raw dump of what pyze actually sends to server for this request?

            'actions/hvac-start',
            {
                'type': 'HvacStart',
                'attributes': {
                    'action': 'cancel'
                }
            }
        

I am trying to reproduce the request in XMLHttpRequest() Javascript, with no success.

Same question for this:

'hvac-history?type={}&start={}&end={}'.format(
                period,
                start.strftime(PERIOD_FORMATS[period]),
                end.strftime(PERIOD_FORMATS[period])
            )

What is actually sent to the server? How can I simulate it in https://reqbin.com/ ?

jumpjack avatar Sep 28 '21 08:09 jumpjack