Set whole body
Last updated
This is a pre-built Action located under the APIs List. The functionality of this Action in Avo Assure is to set the complete body content for the API request.
Note: You set the header (e.g., Content-Type) in the previous steps to ensure the request is formed correctly.
Input Value: <Entire Body Content>
<Entire Body Content> (Required)
Provide the body content which you want to sent in the request. (e.g., JSON body)
Output Value: N/A
N/A
Not Applicable
In this example, we are explaining how to set the complete request body for a API call during API testing.
Action: Set whole body
Input Value: { "first_name": "john", "last_name": "smith", "phone": "9898787656", "email": "johnsmith@gmail.com", "password": "John@123", "re_password": "John@123" }
The input value specifies the complete request payload that should be applied to the API request. The action configures the API to use this body content for subsequent API execution.
Output Value: N/A
Logical Explanation: The Set whole body action reads the value from the Input Value column ({ "first_name": "john", "last_name": "smith", "phone": "9898787656", "email": "johnsmith@gmail.com", "password": "John@123", "re_password": "John@123" }) and applies it as the entire request body for the API call.

Last updated