UiPath-ADAv1 API-Based Automation Practice Question
A developer is using the HTTP Request activity to send a POST request with a JSON body. The API returns a 201 Created status code along with a JSON response containing the newly created resource's ID. The developer needs to capture this ID for subsequent requests. Which property of the HTTP Request activity should be used to retrieve the response content?
⚠ Common exam trap
Candidates often confuse request and response properties, or assuming the ID might be in headers when the scenario specifies a JSON response body.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Response Content
The HTTP Request activity's 'Response Content' property contains the response body as a string. For a POST request that creates a resource, the server typically returns the created resource's details, including its ID, in the response body. This property is the correct place to retrieve that data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Request Body
Why it's wrong here
'Request Body' is the data you send to the server, not the response. It contains the JSON you posted, which may not include the generated ID. The ID is assigned by the server and returned in the response body.
- ✗
Status Code
Why it's wrong here
'Status Code' is an integer indicating the HTTP status (e.g., 201). It does not contain the response body. You need the body to extract the ID. The status code only tells you that the request was successful.
- ✗
Response Headers
Why it's wrong here
'Response Headers' contains metadata such as content type and status, but not the response body. The ID is typically in the body, not headers. While some APIs might return the ID in a Location header, the question specifies a JSON response containing the ID.
- ✓
Response Content
Why this is correct
The 'Response Content' property of the HTTP Request activity holds the body of the server's response as a string. After a successful POST, this will contain the JSON with the new resource's ID. You can then deserialize it to extract the ID for later use.
About these practice questions
One of 285 original UiPath-ADAv1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official UiPath exam blueprint
This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.