Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarify auth

...

  • qs — a map that will be used to create the URI encoded query parameters
  • headers — a map with additional http headers
  • body — a raw string for the http body
  • auth — http auth username/password described here. — a optional map with keys "username" and "password" which is used to add a basic authentication header to the request
  • json — data to encode the http body as json, also setting the `application/json` header (this parameter is ignored if body is provided)
  • form — a map to encode as `application/x-www-form-urlencoded`, also setting that header (this parameter is ignored if body or json is provided)
  • parseJSON — set this to true if you want to try to parse the `content` as json
  • autoraise — a string that will be the label applied to the event that this action automatically raises.

...