Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw dump of what pyze sends to server #100

Open
jumpjack opened this issue Sep 28, 2021 · 0 comments
Open

Raw dump of what pyze sends to server #100

jumpjack opened this issue Sep 28, 2021 · 0 comments

Comments

@jumpjack
Copy link

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 jumpjack changed the title Raw dump of what puze sends to server Raw dump of what pyze sends to server Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant