Introduction

Completed

Application language (AL) in Dynamics 365 Business Central has several data types, such as text, code, integer, and enums. Application language also supports HTTP data types.

You use HTTP data types to connect Business Central with external systems.

Diagram showing linking environments to an external service using HttpClient.

You can't create a field in a table of an HTTP data type, but you can create variables in code. Application language supports a set of HTTP classes for sending and receiving data from HTTP services. These classes are an implementation of the System.Net.Http classes from the .NET Framework. The available classes are:

  • HttpClient

  • HttpContent

  • HttpHeaders

  • HttpRequestMessage

  • HttpResponseMessage

All HTTP types are reference types, not value types, which you'll learn how to use in your own AL code.