web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

How to make post http request in NAV?

(0) ShareShare
ReportReport
Posted on by 450

Hi, 

So i'm trying to make a post request using Http request. Now i'm used to doing this in business central with the datatypes: HttpClient, HttpRequestMessage, HttpResponseMessage, HttpHeaders and HttpContent.

Now in the older version, NAV, there do not seem to exist such datatypes so i was wondering in what way i need to make a call like this in NAV.

Thanks in advance.

I have the same question (0)
  • xcyanx Profile Picture
    35 on at

    If you NAV version supports .net interpolation then you could use the HttpRequest class(docs.microsoft.com/.../system.web.httprequest. And in classic based nav version you should use a com component to achieve this.

    Actually, in BC the in-built types of HttpRequest and just wrappers around the .net classes.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans