Exam MCD-Level-1 Topic 2 Question 51 Discussion

Actual exam question for MuleSoft's MCD-Level-1 exam
Question #: 51
Topic #: 2
Refer to the exhibit.

What should be changed to fix the 415 error?

Suggested Answer: C Vote an answer

The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. In this case as per RAML specification data is expected in application/json and in request Content-Type is set as
"text/plain" which is incorrect. Hence solution is set the request Content-Type header to application/json
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415

by Eudora at Jul 12, 2024, 06:55 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어