POST api/BasicAuthTest

Request Information

URI Parameters

None.

Body Parameters

TestHttpRequest
NameDescriptionTypeAdditional information
StringValue

Test string value

string

None.

IntValue

Test integer value

integer

None.

Request Validation Notes

None.

Request Formats

application/json

Sample:
{
"StringValue":"Elephant",
"IntValue":123
}

Response Information

Resource Description

TestHttpResponse
NameDescriptionTypeAdditional information
RequestStringValue

String value in test request

string

None.

RequestIntValue

Integer value in test request

integer

None.

ResponseStringValue

Response string (backwards version of request string)

string

None.

ResponseIntValue

Response integer (manipulated version of request integer)

integer

None.

ErrorCode

Error code

integer

ErrorDescription

Error details for the developer (English)

string

LocalizedErrorMessage

Error description for the user (Returned in the language specified by the Accept-Language HTTP header)

string

Response Formats

application/json

Sample:
{
"RequestStringValue":"Elephant",
"RequestIntValue":123,
"ResponseStringValue":"tnahpelE",
"ResponseIntValue":1134,
"ErrorCode":0,
"ErrorDescription":null,
"LocalizedErrorMessage":null
}