Script Packager Object Model Reference

IHttpResponse.RawContent Property

The raw content of the response

object RawContent {get;}

Remarks

If there is no Content-Type header or the Content-Type header specifies that the content is a JSON, XML, or Text then the RawContent will be a string, otherwise it will be a byte array. If the RawContent is a byte array it can not be accessed via mrScriptBasic and the SaveContent() method should be used to write the response content to a file.

See Also

IHttpResponse Interface | Intelligence.FuncLibs.Http.HttpRequest Namespace