# HttpResponseMessage data type
> Version: _Available or changed with runtime version 1.0._
Represents an HTTP response message including the status code and data.
## Instance methods
The following methods are available on instances of the HttpResponseMessage data type.
Method name|Description
httpresponsemessage-content-method|Gets the contents of the HTTP response.
GetCookie(Text, var Cookie)<httpresponsemessage-getcookie-method>|Gets the specified cookie given a name.
httpresponsemessage-getcookienames-method|Gets the list of cookie names.
httpresponsemessage-headers-method|Gets the HTTP response's HTTP headers.
httpresponsemessage-httpstatuscode-method|Gets the status code of the HTTP response.
httpresponsemessage-isblockedbyenvironment-method|Gets a value that indicates if the HTTP response is the result of the environment blocking an outgoing HTTP request.
httpresponsemessage-issuccessstatuscode-method|Gets a value that indicates if the HTTP response was successful.
httpresponsemessage-reasonphrase-method|Gets the reason phrase which typically is sent by servers together with the status code.
## Remarks
The size of the HttpResponseMessage is determined by the `HttpClient AL Function Response Size` setting on the Dynamics 365 Business Central server. The default value is `150`. See Microsoft Dynamics 365 Business Central Server Configuration<../../../administration/configure-server-instance>.
> NOTE
> For performance reasons all HTTP, JSON, TextBuilder, and XML types are reference types, not value types. Reference types holds a pointer to the data elsewhere in memory, whereas value types store its own data.
## Related information
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpresponsemessage/httpresponsemessage-data-type, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/httpresponsemessage/httpresponsemessage-data-type/
