Get body
Last updated
This is a pre-built Action located under the APIs List. The functionality of this Action in Avo Assure is to retrieve the entire response body from an executed API request and store the result in a dynamic variable.
Input Value: N/A
N/A
Not Applicable
Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)
<Dynamic Variable> (Required)
This dynamic variable holds the full response body as a string
<Dynamic Variable> (Optional)
This dynamic variable holds the status as True or False.
In this example, we explain how to retrieve the complete response body from an executed API request.
Action: Get Body
Input Value: N/A
This action does not require any input value.
The action automatically fetches the response body from the previously executed API request.
Output Value: {Body}
The first output variable ({Body}) stores the complete response body returned by the API request.
If a second output variable is provided, the action returns the status as True or False:
True: If the response body is retrieved successfully.
False: If the response body is empty or the request execution fails.
Logical Explanation: The Get Body action retrieves the complete response body from the executed API request without requiring any input value. The action stores the fetched response content in the {Body} variable.

Last updated