Knowledge

HTTP Notification

Parameters
Name Description
action Required String The ID of the action.
notification_url Required String The target URL.
type Required String The type of the action. Should be set to HTTP.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
port String The port for the connection.
login String The username required to connect to the server.
password String The password required to connect to the server.
content String The content of the request.
headers Header[] The headers that will be sent with the request.
Example
actions:
  - action: "Send HTTP request to http://mywebserver.io"
    type: "HTTP"
    login: "api_tests_user"
    password: "api_tests_password"
    port: "4567"
    notification_url: "http://mywebserver.io"
    method: "POST"
    content: "{\r\n\t\"url\": \"${execution.url}\",\r\n\t\"html_url\": \"${execution.html_url}\",\r\n\t\"id\": \"${execution.id}\",\r\n\t\"start_date\": \"${execution.start_date}\",\r\n\t\"mode\": \"${execution.mode}\",\r\n\t\"refresh\": \"${execution.refresh}\",\r\n\t\"status\": \"${execution.status}\",\r\n\t\"comment\": \"${execution.comment}\",\r\n}"
    headers:
    - name: "User-Agent"
      value: "Buddy"
    - name: "Content-Type"
      value: "application/json"

Get started now

14 days of unlimited trial. No credit card required.