Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Appian ACD201 Exam - Topic 3 Question 12 Discussion

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?
C) Convert the complex data structures to JSON and include them in the request body as a string.
A) Use query parameters to represent the complex data structures.
B) Use XML format to represent the complex data structures in the request body.

Appian ACD201 Exam - Topic 3 Question 12 Discussion

Actual exam question for Appian's ACD201 exam
Question #: 12
Topic #: 3
[All ACD201 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

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.


Contribute your Thoughts:

0/2000 characters
I think option C is the best. JSON is widely used and easy to work with.
upvoted 0 times
...
Xuan
5 days ago
JSON is lightweight and easy to work with, makes sense!
upvoted 0 times
...
Jina
10 days ago
Wait, can you really send JSON as a string? That sounds odd.
upvoted 0 times
...
Desire
15 days ago
Using query parameters for complex data? That's a no-go.
upvoted 0 times
...
Herminia
2 months ago
I disagree, XML can handle complex structures just fine!
upvoted 0 times
...
Paul
2 months ago
JSON is definitely the way to go for complex data.
upvoted 0 times
...
Patria
3 months ago
I feel like option B could work, but I don't recall seeing XML used much in recent API designs.
upvoted 0 times
...
Veta
3 months ago
I’m a bit confused about query parameters; I thought they were mainly for simple data, not complex structures.
upvoted 0 times
...
Cortney
3 months ago
I remember a practice question where XML was mentioned, but I feel like JSON is more common nowadays for complex data.
upvoted 0 times
...
Yen
3 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.
upvoted 0 times
...

Save Cancel