#12324 Obsolete Http Web Request Mgt. usage in public API (webhooks, OData)
Http Web Request Mgt usage is removed from webhook and OData public APIs by replacing DotNet-based code with native HttpClient and HttpRequestMessage, while obsoleting old event signatures.
- 4files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-09 by darjoo · 4 files (+253 -61), 2 AL · obsoletion · tier official · reviewed (checked by Opus)
What changed
- SendRequest in API Webhook Notification Send now uses native HttpClient instead of Http Web Request Mgt.
- New event OnSendRequestOnBeforeSendHttpRequest replaces the pending-obsolete OnSendRequestOnBeforeSendRequestAndReadTextResponse
- OnAfterSendNotification with a DotNet HttpStatusCode is pending obsolete; use OnAfterSendNotificationWithStatusNumber
- ODataUtility CreateMetadataWebRequest is pending obsolete; build requests with native HttpClient
- Headers, UTF-8 body, timeout, telemetry and retry rules are kept the same
AL objects touched
- Codeunit 6154 “API Webhook Notification Send”, Base Application: modified
- Codeunit 6710 “ODataUtility”, Base Application: modified
Obsoletions
- API Webhook Notification Send: OnSendRequestOnBeforeSendRequestAndReadTextResponse, replaced by OnSendRequestOnBeforeSendHttpRequest
- API Webhook Notification Send: OnAfterSendNotification (with DotNet HttpStatusCode parameter), replaced by OnAfterSendNotificationWithStatusNumber
- ODataUtility: CreateMetadataWebRequest
Context
- Work items: AB#647963
- Labels: Team: Integrations
- Systems: integration
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Working with webhooks — possibly related: touches Codeunit 6154 “API Webhook Notification Send”
- Analyze Incoming Web Service Telemetry — possibly related: Modernizing OData web service calls, relevant to incoming web service telemetry. (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).