#Automation with Rest_Command

1 messages · Page 1 of 1 (latest)

winged sail
#

Hi there,

I'm trying to set up a permanent notification with alexa. For this I'm using the Skilly Notify me (EU-Store of Amazon). However I can't get a notification to me Echo.

my rest_commands. yaml contains the following code:

  url: https://api.getnotify.me/submit
  method: POST
  headers:
    Content-Type: application/json
  payload: >
      {
        "api_key": "nmxxxxxxxx",
        "api_secret": "scxxxxxxxx",
        "message": "{{ message }}"
      }

The documentation of the API is in the picture

Do you have any guesses what could be wrong?

amber sigilBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

olive forum
#

Please format your YAML as code

#

I think you need to do this

send_notify_message:
  url: https://api.getnotify.me/submit
  method: POST
  username: your_api_key
  password: your_api_password
  content_type: json
  payload:
    message: "{{ message }}"