Debugging rest response

Hi,

I’m trying to create RESTful sensors, but I have no idea what response is returned after request. Is there a way to print or debug raw response in home assistant?

1 Like

Yes, you can log the response by adding the following to your configuration (or modifying your existing one accordingly):

logger:
  default: info
  logs:
    homeassistant.components.rest: debug
3 Likes

Thanks a lot. Its working.