Method GetRequestRawBody

Gets Request Raw Body Data

Usage

Function GetRequestRawBody(
  Boolean Report [Optional]
)

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Request Raw Body Data

Example

VBScript

' Show request raw body in message box
msgbox Server("API Server").Method("CreateBook").GetRequestRawBody(True)

JavaScript

// Show request raw body in message box
alert(Server("API Server").Method("CreateBook").GetRequestRawBody(true));

Documentation Categories

ZAPTEST

FARM

LOAD