nerdexam
MuleSoft

MCD-LEVEL-1 · Question #112

What valid RAML retrieves details on a specific customer by its customerId as a URI parameter? A. 1. /customers: 2. /get: 3. /customerId: B. 1. /customers: 2. /{customerId}: 3. get: C. 1…

The correct answer is B. 1. /customers: 2. /{customerId}: 3. get. Correct answer is below as it follows the correct syntax.

Designing APIs

Question

What valid RAML retrieves details on a specific customer by its customerId as a URI parameter? A. 1. /customers: 2. /get: 3. /customerId: B. 1. /customers: 2. /{customerId}: 3. get: C. 1. /customers: 2. /customerId: 3. get: D. 1. /customers: 2. get: 3. /{customerId}:

Options

  • A
    1. /customers:
    2. /get:
    3. /customerId:
  • B
    1. /customers:
    2. /{customerId}:
    3. get:
  • C
    1. /customers:
    2. /customerId:
    3. get:
  • D
    1. /customers:
    2. get:
    3. /{customerId}:

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    93% (40)
  • D
    5% (2)

Explanation

Correct answer is below as it follows the correct syntax.

Topics

#RAML#URI parameters#resource definition#API design

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice