- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-22 01:25 AM . Last Modified: 2024-02-14 02:37 AM
Anyway to use rack power distribution unit application apis from an angular front end?
Hi there,
I'm working on an application that will be able to control power switches located on the rack power distribution unit application. Is there anyway to whitelist my angular front end application so that i can make post and get requests to the rack power distribution unit application apis? I tried calling the apis but keep getting an "No Access-Control_Allow-Headers" error. I looked further into this and it seems my frontend requires a nmc object key that is used in the endpoint. (e.g http://xxx.xx.xxx.xx/NMC/kQtlr8AEz8bRMchJ73RGiA/home.htm . But I'm not sure on how to retrieve this key as I assume this key is retrieved when logging into the application. I also tried calling the login apis first but still get Access-Control-Allow-Headers errors. Any help would be great.
Link copied. Please paste this link to share this article on your social media post.
