The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

HttpRequestMessage Class

Represents an HTTP request message.


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.

The following methods are available on the HttpRequestMessage class.

Method name Description
Content Gets or sets the contents of the HTTP message.
GetRequestUri Gets the Uniform Resource Identifier (URI) used for the HTTP request.
Method Gets or sets the method type as defined in the HTTP standard.
SetRequestUri Sets the URI used for the HTTP request.

See Also

HTTP, JSON, TextBuilder, and XML API
Getting Started with AL
Developing Extensions