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

What should be changed to fix the 415 error?

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

"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
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
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).