---
title: "Codeunit 1299 Web Request Helper"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1299-web-request-helper/
type: codeunit
id: 1299
name: "Web Request Helper"
app: "Base Application"
namespace: System.Integration
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1299-web-request-helper/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1299 Web Request Helper

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1299-web-request-helper/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Integration |
| Versions | 17-28 |
| Source file | Modules/System/WebRequest/WebRequestHelper.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| IsValidUri | (Text) | Boolean | public | 17-28 | - | - |
| IsValidUriWithoutProtocol | (Text) | Boolean | public | 17-28 | - | - |
| IsSecureHttpUrl | (Text) | Boolean | public | 17-28 | - | - |
| IsHttpUrl | (Text) | Boolean | public | 17-28 | - | - |
| GetWebResponse | (var DotNet HttpWebRequest, var DotNet HttpWebResponse, var InStream, var DotNet HttpStatusCode, var DotNet NameValueCollection, Boolean) | Boolean | public | 17-28 | - | - |
| GetWebResponseError | (var DotNet WebException, var Text) | Text | public | 17-28 | - | - |
| GetResponseText | (Text, Text, Text, var Text) | Boolean | public | 17-18 | Pending 16.0 | This function does not consider the encoding of the response. Use GetResponseTextUsingCharset instead. (If you are comparing the response with previous values saved in the database, you might need data upgrade.) |
| GetResponseTextUsingCharset | (Text, Text, Text, var Text) | Boolean | public | 17-27 | Pending 25.0 | Replaced by GetResponseTextUsingCharset(Method: Text; Url: Text; AccessToken: SecretText; var ResponseText: Text) |
| GetHostNameFromUrl | (Text) | Text | public | 17-28 | - | - |
| IsFailureStatusCode | (Text) | Boolean | public | 17-28 | - | - |
| GetResponseTextUsingCharset | (Text, Text, SecretText, var Text) | Boolean | public | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
