Codeunit 2350 Rest Client

System Application, System.RestClient

Source AL, 420 lines

src/System Application/App/Rest Client/src/RestClient.Codeunit.allines 8 to 23 of 420, Copyright (c) Microsoft Corporation. MIT

codeunit 2350 "Rest Client"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        RestClientImpl: Codeunit "Rest Client Impl.";    #region Constructors    /// <summary>Initializes a new instance of the Rest Client class.</summary>    /// <returns>The Rest Client object.</returns>    /// <remarks>The default Http Client Handler and anonymous Http authentication will be used.</remarks>    procedure Create(): Codeunit "Rest Client"    begin        RestClientImpl := RestClientImpl.Create();

All 420 lines

Public procedures 38 in 29

Initialize()new in 23
Initialize(HttpClientHandler: Interface "Http Client Handler")new in 23
Initialize(HttpAuthentication: Interface "Http Authentication")new in 23
Initialize(HttpClientHandler: Interface "Http Client Handler"; HttpAuthentication: Interface "Http Authentication")new in 23
SetDefaultRequestHeader(Name: Text; Value: Text)new in 23
SetDefaultRequestHeader(Name: Text; Value: SecretText)new in 23

All 38 procedures

Changes 6 in 26

List17181920212223242526272829
Procedures6
Create(): Codeunit "Rest Client"new in 26
added
Create(HttpClientHandler: Interface "Http Client Handler"): Codeunit "Rest Client"new in 26
added
Create(HttpAuthentication: Interface "Http Authentication"): Codeunit "Rest Client"new in 26
added
Create(HttpClientHandler: Interface "Http Client Handler"; HttpAuthentication: Interface "Http Authentication"): Codeunit "Rest Client"new in 26
added
SetUseServerCertificateValidation(Value: Boolean)new in 26
added
SetUseResponseCookies(Value: Boolean)new in 26
added

All 6 changes in 23-29