You're making a POST request to the Appian web API. You need to include complex data structures, such as lists or objects, in the request body.
How should you design the API to accept those requests?
Suggested Answer: C
Get Premium ACD201 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
To include complex data structures like lists or objects in a POST request to an Appian Web API, you should convert the data to JSON and include it in the request body as a string. Appian supports application/json content type for parsing complex data structures in APIs.
12 comments · newest first
FR
Francine
3 months ago
XML is outdated. I wouldn't choose option B.
LE
Leonora
4 months ago
I agree, JSON is more flexible for complex data.
TO
Tora
4 months ago
I think option C is the best. JSON is widely used and easy to work with.
XU
Xuan
4 months ago
JSON is lightweight and easy to work with, makes sense!
JI
Jina
4 months ago
Wait, can you really send JSON as a string? That sounds odd.
DE
Desire
4 months ago
Using query parameters for complex data? That's a no-go.
HE
Herminia
6 months ago
I disagree, XML can handle complex structures just fine!
PA
Paul
6 months ago
JSON is definitely the way to go for complex data.
PA
Patria
7 months ago
I feel like option B could work, but I don't recall seeing XML used much in recent API designs.
VE
Veta
7 months ago
I’m a bit confused about query parameters; I thought they were mainly for simple data, not complex structures.
CO
Cortney
7 months ago
I remember a practice question where XML was mentioned, but I feel like JSON is more common nowadays for complex data.
YE
Yen
7 months ago
I think using JSON is the way to go since it's widely accepted for APIs, but I'm not entirely sure about converting it to a string.