HttpResponse Class
Main object that contains result information from a request.
Properties
body
read-only body: string;
Body content of the HTTP response.
Type: string
headers
read-only headers: HttpHeader[];
A collection of HTTP response headers returned from the request.
Type: HttpHeader[]
request
read-only request: HttpRequest;
Information that was used to formulate the HTTP response that this object represents.
Type: HttpRequest
status
read-only status: number;
HTTP response code for the request. For example, 404 represents resource not found, and 500 represents an internal server error.
Type: number
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for