---
id: change/bcapps/12755
type: change
title: "#12755 Flow Service Management: use native HttpClient instead of Web Request Helper"
summary: Flow Service Management.GetEnvironments now calls the endpoint through native AL HttpClient instead of Web Request Helper. URL validation, the Bearer token as a secret, error handling and UTF-8 charset handling stay as before. The request is now subject to the extension's outbound HTTP policy.
tier: official
language: en
tags:
  - refactor
  - main
  - bc30
  - codeunit flow service management
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-17T01:12:18.483Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d814f38d323885d56e5eab56bd2fb521adf36ca3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12755
    title: "microsoft/BCApps#12755: Flow Service Management: use native HttpClient instead of Web Request Helper"
    date: "2026-10-14"
    commit: d814f38d323885d56e5eab56bd2fb521adf36ca3
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-codeunit-6400-flow-server-management-replacement-code
      title: Codeunit 6400 Flow Server Management Replacement Code for C/AL to AL conversion
      label: possibly related
      why: touches Codeunit 6400 "Flow Service Management"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/resolve-page-6400-6401-error-converting-database
      title: Page 6400 and 6401 errors
      label: possibly related
      why: touches Codeunit 6400 "Flow Service Management"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-httpclient
      title: Call external services with the HttpClient data type
      label: possibly related
      why: Documents using HttpClient data type in AL to integrate with external services, which replaces the Web Request Helper approach.
      by: model
number: 12755
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12755
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-14T10:57:28Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: refactor
behavior_change: false
breaking: false
files:
  count: 1
  additions: 84
  deletions: 4
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/6400
    page: codeunit/6400
    type: codeunit
    id: 6400
    name: Flow Service Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 647963
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12755 Flow Service Management: use native HttpClient instead of Web Request Helper

> Flow Service Management.GetEnvironments now calls the endpoint through native AL HttpClient instead of Web Request Helper. URL validation, the Bearer token as a secret, error handling and UTF-8 charset handling stay as before. The request is now subject to the extension's outbound HTTP policy.

[Pull request](https://github.com/microsoft/BCApps/pull/12755) · merged into `main` (BC30) on 2026-10-14 by darjoo · 1 file (+84 -4), 1 AL · refactor · tier official · reviewed (checked by Opus)

## What changed

- Replaces Web Request Helper.GetResponseTextUsingCharset with a local TryGetResponseText try function built on HttpClient
- Keeps http/https URI validation, the Bearer token sent as a secret, failure on a non-success status, and UTF-8 charset detection
- Removes the last caller of GetResponseTextUsingCharset, which is a prerequisite for obsoleting codeunit 1299 in #12615
- OnPrem-scoped code path with no public API change

## AL objects touched

- [Codeunit 6400 "Flow Service Management"](../../objects/codeunit/6400.md), Base Application: modified

## Context

- Work items: AB#647963
- Labels: Team: Integrations
- Systems: development

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Codeunit 6400 Flow Server Management Replacement Code for C/AL to AL conversion](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-codeunit-6400-flow-server-management-replacement-code) — possibly related: touches Codeunit 6400 "Flow Service Management"
- [Page 6400 and 6401 errors](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/resolve-page-6400-6401-error-converting-database) — possibly related: touches Codeunit 6400 "Flow Service Management"
- [Call external services with the HttpClient data type](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-httpclient) — possibly related: Documents using HttpClient data type in AL to integrate with external services, which replaces the Web Request Helper approach. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
