Hello ,
I have follow this gide https://github.com/mike-grant/haaska/wiki/Testing-haaska
I have finished guide but last step was testing and here I have failed.
can somebody have same issue ?
400 Client Error: Bad Request for url: https://myduck.duckdns.org/api/alexa/smart_home: HTTPError Traceback
START RequestId: f7dedf16-b531-4c47-94f4-0f90d765cbcf Version: $LATEST
400 Client Error: Bad Request for url: https://myduck.duckdns.org/api/alexa/smart_home: HTTPError
Traceback (most recent call last):
File “/var/task/haaska.py”, line 111, in event_handler
return ha.post(‘alexa/smart_home’, event, wait=True)
File “/var/task/haaska.py”, line 66, in post
r.raise_for_status()
File “/var/task/requests/models.py”, line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://myduck.duckdns.org/api/alexa/smart_home
when I am trying from different place I have error 405
curl -X GET -H “Authorization: Bearer 8C1Siwe7ADTMtn3Wm28u7ZAKS8KgY” -H “Content-Type: application/json” https://myduck.duckdns.org/api/alexa/smart_home
405: Method Not Allowed