Action: Http_get

PLEASE READ the /phpMyDomo/www/inc/doc/howto/actions.md for more informations

Description

This action fetch an url.

Fields

  • 'type' => (mandatory) 'http_get'
  • 'url' => (required) the url to fetch: ie 'http://www.myserver.com/myurl?param=xx'.
  • 'timeout' => (required) the maximum time to spend asking the remote server
  • 'custom' => (optionnal) replaces "{custom}" in the url field

URLs examples

/action?type=http_get&preset=domoticz_sensor&custom=12.3;45;2