Notifier rest not working

I tried to setup a rest notifier but can not get it working. I have a rest_command working with same data so no idea what is wrong.

Here is the config, maybe someone here as an idea.

notify
    - name: send_to_input_text
      platform: rest
      resource: http://192.168.1.2:8123/api/services/input_text/set_value
      method: POST_JSON
      headers:
        Authorization: !secret ha_auth_key
        Content-Type: 'application/json'
      data_template:
        entity_id: input_text.message_module
        value: '{{ value }}'

When I try to call this notifier nothing happens.

Anyone using the Rest notifier or can help me fix mine? I try to send a notify command to an Home Assistant.