Hi All,
I am trying to format the following curl request.
curl -X POST https://node02.myqtthub.com/login 56 -d ‘{“clientId” : “YourAdminClientId”, “userName” : “YourUsername”, “password” : “aPassword”, “cleanSession” : false }’
I have tried to follow Erel's examples without success.
Below is the resulting error:
Any advise gratefully accepted.
I am trying to format the following curl request.
curl -X POST https://node02.myqtthub.com/login 56 -d ‘{“clientId” : “YourAdminClientId”, “userName” : “YourUsername”, “password” : “aPassword”, “cleanSession” : false }’
I have tried to follow Erel's examples without success.
Below is the resulting error:
Error:
Waiting for debugger to connect...
ResponseError. Reason: Bad Request, Response: <!DOCTYPE html>
<html lang="en">
<head>
<title>Bad Request</title>
<style>
html, body, pre {
margin: 0;
padding: 0;
font-family: Monaco, 'Lucida Console', monospace;
background: #ECECEC;
}
h1 {
margin: 0;
background: #AD632A;
padding: 20px 45px;
color: #fff;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
border-bottom: 1px solid #9F5805;
font-size: 28px;
}
p#detail {
margin: 0;
padding: 15px 45px;
background: #F6A960;
border-top: 4px solid #D29052;
color: #733512;
text-shadow: 1px 1px 1px rgba(255,255,255,.3);
font-size: 14px;
border-bottom: 1px solid #BA7F5B;
}
</style>
</head>
<body>
<h1>Bad Request</h1>
<p id="detail">
For request 'POST /login' [Invalid Json: Unexpected character (':' (code 58)): was expecting comma to separate Array entries
at [Source: akka.util.ByteIterator$ByteArrayIterator$$anon$1@39ab7c44; line: 1, column: 15]]
</p>
</body>
</html>
ugh
Any advise gratefully accepted.