Is there a way to host a custom API on hassio that can call HA Services?
I know HA provides APIs, however they have a specific interface and require a status field as example.
My problem is I have a 3rd party system that posts API notifications in a very specific format that I have no control over changing. Its not compatible with HA APIs. The only control I have is providing the 3rd party my URL to invoke and they will start to POST notifications in their format to my URL.
I attempted PHP but this is not available on hassio.
Any Ideas of what i can use? addon or custom dev?
So webhook works great. I only have a problem with the response headers it returns
Is there a way of returning a different content-type and possibly a default message?
it current returns the following:
< HTTP/2 200
< server: nginx/1.14.2
< date: Sat, 31 Aug 2019 09:37:54 GMT
< content-type: application/octet-stream
< content-length: 0
< strict-transport-security: max-age=31536000; includeSubDomains
<