MCD - ASSOC

MCD - ASSOC practice questions, page 3 of 3, with answer review and explanations.

Question 11

There are two types of accounts: personal and business. How can an accountType parameter be specified in RAML so http://localhost/acme/accounts? accountType=personal is a valid request to the implementation? A. B. C. D.

Question 12

Refer to the exhibit. What should be changed to fix the 400 Bad Request error?

  1. Set the request Content-Type header to application/json
  2. Set the response Content-Type header to application/json
  3. Set the response Content-Type in the RAML specification to text/plain
  4. Set the request Content-Type header to text/plain