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

How to differentiate between POST and GET requests (for home-assistant)? #9

Open
MickiCH opened this issue Jan 25, 2021 · 0 comments
Open

Comments

@MickiCH
Copy link

MickiCH commented Jan 25, 2021

I just setup my home-assistant and I realized that even if my request has no body, just something like this:
"http://ip:8123/api/services/script/turnofflivingroom" it will not work.

I tested with postman and when I use the GET method I get: 405: Method Not Allowed
When I use the POST method it works.

So I was assuming that this might be issue. Any other idea how to send a request to home-assistant from pophttp? Thanks

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