#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.
- 1files
- 1AL files
- 1objects
Pull request · 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”, 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 — possibly related: touches Codeunit 6400 “Flow Service Management”
- Page 6400 and 6401 errors — possibly related: touches Codeunit 6400 “Flow Service Management”
- Call external services with the HttpClient data type — 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).