Codeunit 1299 Web Request Helper

Base Application, System.Integration

Source AL, 218 lines

src/Layers/W1/BaseApp/Modules/System/WebRequest/WebRequestHelper.Codeunit.allines 6 to 21 of 218, Copyright (c) Microsoft Corporation. MIT

codeunit 1299 "Web Request Helper"{    trigger OnRun()    begin    end;    var        ConnectionErr: Label 'Connection to the remote service could not be established.\\';        FileSchemeNotAllowedErr: Label 'The file scheme is not allowed.';        InvalidEncodingErr: Label 'The text encoding is not specified or is not valid.';        InvalidUriErr: Label 'The URI is not valid.';        NonSecureUriErr: Label 'The URI is not secure.';        ProcessingWindowMsg: Label 'Please wait while the server is processing your request.\This may take several minutes.';#pragma warning disable AA0470        ServiceURLTxt: Label '\\Service URL: %1.', Comment = 'Example: ServiceURL: http://www.contoso.com/';

All 218 lines

Public procedures 9 in 29

IsValidUri(Url: Text): Boolean17-29
IsValidUriWithoutProtocol(Url: Text): Boolean17-29
IsSecureHttpUrl(Url: Text): Boolean17-29
IsHttpUrl(Url: Text): Boolean17-29
GetWebResponse(var HttpWebRequest: DotNet HttpWebRequest; var HttpWebResponse: DotNet HttpWebResponse; var ResponseInStream: InStream; var HttpStatusCode: DotNet HttpStatusCode; var ResponseHeaders: DotNet NameValueCollection; ProgressDialogEnabled: Boolean): Boolean17-29
GetWebResponseError(var WebException: DotNet WebException; var ServiceURL: Text): Text17-29

All 11 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures121
GetResponseTextUsingCharset(Method: Text; Url: Text; AccessToken: Text; var ResponseText: Text): Booleangone after 27
gone

All 4 changes in 17-29