Skip to content

Shelly.Call() ==> (more) Push message examples #81

@xkl

Description

@xkl

It took me some time to figure out. So, maybe you want to add this to your website:

Shelly.call(
  "HTTP.POST", {
    "url": "http://localhost:8008/message?token=<apptoken>",
    "content_type": "application/x-www-form-urlencoded",
    "body": "message=<message>"
  },
  function(result) {
    print(result);
  }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions