Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Executes a an HTTP POST for the given URL using the specified HttpRequest object. The posted data can be either included in the request object (as name-value parameters) or it can be added as a separate parameter (in the case of JSON, struct etc).

Parameters

Parameter

name

Type

Required

Description

url

string

Yes

The URL.

requestHttpRequestYesA HttpRequest object containing headers, cookies, parameters.
postDataObjectvariable: primitive type, array or structNoData to be posted.

The request parameter should have the HttpRequest type HttpRequest described here.

Return type

...

Using this routine, you can for instance create a new ticket in the specified project based for instance based on certain conditions, and pass the information for the additional fields to be filled in for this ticket too.

...