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

invalid csrf token response from the DevNet APIC-EM

Hi Everybody,

 

I am new to DevNet APIC-EM sandbox (reserved version). I used the new standalone Postman version to post the following request to the APIC-EM SDN controller:

http://10.10.20.60/andbox/apic_em/api/v1/ticket

I received "invalid csrf token" response together with 403 HTTP code. 

 

Can anybody explain what is going on and how to solve this problem?

It looks like Postman is not sending a token that the APIC-EM controller is expecting.

 

Thank you for your help

 

<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8" />
<title> - APIC - Enterprise Module</title>

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#28cdc1">

<link href="/fonts/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="/core/css/common.css" />
<script type="text/javascript" src="/libs/socketio.js"></script>
<script type="text/javascript" src="/core/requirejsAdmin.js"></script>
<script type="text/javascript" src="/libs/apic-em.js"></script>

</head>
<body>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Error</title>
</head>
<body>
<h1>invalid csrf token</h1>
<h2></h2>
<pre></pre>
</body>
</html>
</body>

</body>
</html>
<script type="text/javascript" nonce="">
window.appcontext = {
name: "",
uuid: ""
};
window.GRAPEVINE_API_URL_PREFIX = "/apic/grapevine/api";
window.API_URL_PREFIX = "/apic/api/v1";
window.API_URL_PREFIX_V0 = "/apic/api/v0";
window.CSRF = "";
</script>

 

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: invalid csrf token response from the DevNet APIC-EM

1 REPLY 1
Highlighted
Cisco Employee

Re: invalid csrf token response from the DevNet APIC-EM

Content for Community-Ad
July's Community Spotlight Awards
This widget could not be displayed.