Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

How to make post http request in NAV?

(0) ShareShare
ReportReport
Posted on by 422

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.

  • xcyanx Profile Picture
    xcyanx 35 on at
    RE: How to make post http request in NAV?

    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans