exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 464 discussion

Actual exam question from Cisco's 200-901
Question #: 464
Topic #: 1
[All 200-901 Questions]

The API documentation has this requirement for a REST API request:

“For methods that accept request parameters, the platform accepts either application/json or application/x-www-form-urlencoded content types and currently only supports returning data in application/json format”.

Which field returns content in the required format?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
StewartJ
5 months ago
Selected Answer: B
confirmed via documentation B
upvoted 1 times
...
intheshadows00
1 year ago
Selected Answer: A
should be A, because Content-Type is a header that comes with a response, not a request.
upvoted 1 times
herrmann69
10 months, 1 week ago
Content-Type is a representation header, which describes the representation of the resource sent in an HTTP message body. It is also used with requests. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type A is still right, though.
upvoted 2 times
...
...
lightmagenta
1 year ago
correct answer is D
upvoted 1 times
...
peterbuza
1 year ago
Selected Answer: A
The "Accept" header field can be used by user agents to specify response media types that are acceptable. The Accept header always indicates what kind of response from the server a client can accept. Content-Type is about the content of the current request or response, depending on which kind of HTTP message it is applied. If a request has no payload, you don't have to send a Content-Type request header
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...