Highlighted
priyg96
1 Copper

HTTP 400 Bad Request while creating a session - EMC Isilon

One issue was encountered while making a POST call to Isilon endpoint as shown in the python script in the attached image

Request Parameters - {"username":"abc", "password":"xyz", "services":["namespace","platform"]}
Request Headers - Content-Type = application/json

The response from the python script is given below:

Response text - <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<p>Additionally, a 400 Bad Request
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
 
Response Status Code - 400
Response Cookies - {}

What can be the reason behind the blank cookies in the above response?
 
my_script.PNGScript to fetch cookies from session
Labels (1)
Tags (3)
0 Kudos