Hello everyone,
I`m trying to create REST custom sensor with post request and custom HTTP Header. I activate the option for custom headers and write my header (Content-Type:application/x-www-form-urlencoded), but I dont think it is being send, because I get 500 internal server error. I suppose the problem is with the header, since when I make the same request with the given header with another REST Client (e.g. Mozilla RESTClient extension) a successful response with code 200 and data is returned. If I send it without the header I get the same error response with no content as the sensor. Can you please confirm, that the content type header is supported for the custom REST sensor? How can I be sure, that the header is being send?
Best regards, A
Add comment