getting 400 bad resuest as a raw response for REST API request
hi ,
this is my REST API raw request and getting 400 Bad Request response why ? plz help .
POST https://wevet16742.ms.ds.uhc.com/PasswordVault/WebServices/auth/Cyberark/CyberArkAuthenticationService.svc/Logon HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 118
Host: wevet16742.ms.ds.uhc.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
"username":"scriptli3",
"password":"D\}d/y2Hv57h~SF",
"useRadiusAuthentication":"false",
"connectionNumber":"1"
}
RAW RESPONSE:
HTTP/1.1 400 Bad Request
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Content-Type: text/html
Expires: -1
Set-Cookie: CA22222=; path=/PasswordVault/; secure; HttpOnly
Set-Cookie: CA11111=; path=/PasswordVault/; secure; HttpOnly
Set-Cookie: CA55555=; path=/PasswordVault/; secure
Set-Cookie: CA33333=; path=/PasswordVault/; secure; HttpOnly
Set-Cookie: mobileState=Desktop; path=/PasswordVault/; secure; HttpOnly
X-FRAME-Options: SAMEORIGIN
Strict-Transport-Security: max-age=3159600;includeSubdomains;preload
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: IE=EmulateIE8
Access-Control-Expose-Headers: Warning
Strict-Transport-Security: max-age=31536000; includeSubDomains
Date: Wed, 04 Dec 2019 09:12:28 GMT
Content-Length: 1647
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Request Error</title>
<style>BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; } #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; } A:link { color: #336699; font-weight: bold; text-decoration: underline; } A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; } A:active { color: #336699; font-weight: bold; text-decoration: underline; } .heading1 { background-color: #003366; border-bottom: #336699 6px solid; color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal;margin: 0em 0em 10px -20px; padding-bottom: 8px; padding-left: 30px;padding-top: 16px;} pre { font-size:small; background-color: #e5e5cc; padding: 5px; font-family: Courier New; margin-top: 0px; border: 1px #f0f0e0 solid; white-space: pre-wrap; white-space: -pre-wrap; word-wrap: break-word; } table { border-collapse: collapse; border-spacing: 0px; font-family: Verdana;} table th { border-right: 2px white solid; border-bottom: 2px white solid; font-weight: bold; background-color: #cecf9c;} table td { border-right: 2px white solid; border-bottom: 2px white solid; background-color: #e5e5cc;}</style>
</head>
<body>
<div id="content">
<p class="heading1">Request Error</p>
<p>The server encountered an error processing the request. See server logs for more details.</p>
</div>
</body>
</html>