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

Consumming odata from angular [cors origin error]

(0) ShareShare
ReportReport
Posted on by

I'm trying to use a published odatav4 endpoint from an angular app and getting 

CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 

But I can access the endpoint via browser. Who can I configure nav to accept request from my app running on http://localhost:4200.

Im using Dynamics nav Business Central 13.0 2018

pastedimage1597333849520v3.png

pastedimage1597333204711v1.png

pastedimage1597333248377v2.png

Thanks in advance

I have the same question (0)
  • raelhefn Profile Picture
    on at
    RE: Consumming odata from angular [cors origin error]

    Please refer to Using AngularJS to Build Dynamic Web Pages with Dynamics 365 Business Central Data  : www.cdata.com/.../d365businesscentral-odata-angularjs.rst

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,678 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,635

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,210

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans