RestResponse¶
Defines a REST response.
Capabilities¶
Response Metadata¶
- RestResponse.Content: Gets the response content.
- RestResponse.ContentType: Gets the content type of the response.
- RestResponse.StatusCode: Gets the HTTP status code of the response.
Response Validation¶
- RestResponse.GetHeader: Returns the value of a specified header.
- RestResponse.Verify: Verifies that the RestResponse.StatusCode is OK and returns the current instance.
Response Conversion¶
- RestResponse.ToBase64: Returns the Content property encoded as Base64.
- RestResponse.ToJson: Returns the Content property as a JSON object.
- RestResponse.ToXml: Returns the Content property as an Xml node.