web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,885

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,405

#3
Sumit Singh Profile Picture

Sumit Singh 2,837

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans