pyze
pyze copied to clipboard
Raw dump of what pyze sends to server
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/ ?