GET api/Test/GetNewRoute/{userId}/{age}

Override Default Route Test with more Parameters With get and post

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

SQL ID of the User

integer

Required

age

The eye color of the user

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>