Announcement

Collapse
No announcement yet.

Send http POST on commnd line in event?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Send http POST on commnd line in event?

    Is there any way to POST this URL and the params in an event command line without having to create a script to do so?
    "http://192.168.1.99:5219/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=404046882"

    I have looked in the help and forums until my eyes are crossed. 😣 Any help would be appreciated.

    #2
    - At Action Choose Run a Script or Script Command
    - Check Immediate Command
    - Then SAVE. Otherwise you will not get the correct fields (Think this is a bug).
    - Edit.
    - At Command put: &hs.URLAction("http://192.168.1.99:5219/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=404046882", "GET", "", "")
    - Save.
    - Done

    Comment


      #3
      Originally posted by Bernold View Post
      - At Action Choose Run a Script or Script Command
      - Check Immediate Command
      - Then SAVE. Otherwise you will not get the correct fields (Think this is a bug).
      - Edit.
      - At Command put: &hs.URLAction("http://192.168.1.99:5219/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=404046882", "GET", "", "")
      - Save.
      - Done
      Thanks, you da boss!

      Comment

      Working...
      X