The HTTP headers of the incoming request. If the body is in a query parameter, you can use request.parameters.If the body contains XML, you can use one of the included XML libraries to manipulate the data.If the body contains JSON, you can use JSON.parse(request.body) in the script to convert it to a JavaScript object.This is the body of the request posted to the integration service URL, and usually contains the JSON or XML payload of an HTTP POST. In outbound integration scripts, the request object is referred to as the callback. The easiest way to examine the content of an incoming request is to send an HTTP request to your integration and then view the details in the Activity panel. You can use the transformation scripts to access the request headers, parameters, body, etc. The request object is used to describe the HTTP request posted to the integration service URL. which must be compliant with JDK version 8 and ECMAScript 5.1.) Scripting Features (Instantiation is allowed for scripts running on the xMatters Agent. For security reasons, the instantiation of Java classes from within the scripting runtime is explicitly disallowed for all scripts running in the cloud. Transformation scripts are written in JavaScript (JDK version 11) and should be compliant with ECMAScript 6. The Integration Builder includes an editor that allows you to modify the default transformation scripts for your inbound and outbound integrations.įor information on working with scripts in Flow Designer custom steps and HTTP triggers, see Work with scripts in custom steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |