cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
299
Views
0
Helpful
1
Replies

Nexus Dashboard 3.2 api requires a X-Csrf-Token. How does one get?

dan-laden
Level 1
Level 1

Looking at doing some api posts.  Starting with ND 3.1, it seems a X-Csrf-Token header needs to be included.  How does one get/create the X-Csrf-Token?  what is the difference between a authcookie and cookie?

danladen_0-1737747431225.png

 

1 Reply 1

I see two ways documenting this. One must be right one says you get this via the UI and use this another days via developer tools in your browser. Here is the document https://www.cisco.com/c/en/us/td/docs/dcn/ndo/3x/api/cisco-nexus-dashboard-orchestrator-rest-api-configuration-guide-351/ndo-api-using-api-35x.html#:~:text=In%20the%20developer%20tools%20panel%20that%20opens%2C%20select%20the%20Network%20tab.&Navigat....

All authcookies are cookies, but not all cookies are authcookies, this authcookies are a specialized type of cookie with a specific security and functional purpose

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io