UiPath-ADPv1 API Automation Practice Question
A developer needs to call a REST API that requires an API key to be passed as a query parameter named 'api_key'. The developer is using the UiPath HTTP Request activity. Which property should the developer use to add this parameter?
⚠ Common exam trap
The trap here is assuming there is a dedicated query parameter section or confusing query parameters with headers, which are used for different purposes.
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
✓
Add the parameter to the URL property by appending "?api_key=value" to the endpoint URL.
Query parameters are appended to the URL. Since the HTTP Request activity does not have a dedicated query parameter field, the developer must include "?api_key=value" in the URL property. This is the standard method for passing API keys as query parameters, ensuring the API can authenticate the request.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add a JSON body with {"api_key": "value"} in the Body property.
Why it's wrong here
The API expects the key as a query parameter, not in the body. Using the body is for POST/PUT requests with payloads. For a GET request, the body is typically ignored. This approach would not authenticate the request and could cause a 401 or 400 error.
- ✗
Use the Authentication property to select "API Key" and enter the value.
Why it's wrong here
The HTTP Request activity does not have a built-in API Key authentication option. While some activities have authentication helpers, this one requires manual configuration. Selecting a non-existent option would not work, and the key must be placed in the URL as a query parameter.
- ✓
Add the parameter to the URL property by appending "?api_key=value" to the endpoint URL.
Why this is correct
Query parameters are part of the URL. Appending "?api_key=value" directly to the URL is the correct way to pass an API key as a query parameter. This ensures the API receives the key as expected. The HTTP Request activity does not have a separate query parameter collection, so modifying the URL is necessary.
- ✗
Add a header with Name "api_key" and Value "value" in the Headers property.
Why it's wrong here
Headers are used for metadata like authentication tokens, but the API specifically requires the key as a query parameter. Sending it as a header would not satisfy the API's requirement and would likely result in an authentication error. Always follow the API documentation for parameter location.
About these practice questions
Courseiva writes every UiPath-ADPv1 question from scratch — 276 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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-ADPv1 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-ADPv1 exam.