Professional Documents
Culture Documents
// Second request, a few minutes later. Hangs waiting for response. Aborted
manually after a while.
magnusal@lnxmartiso> curl 'http://172.25.11.68/api/v1/login' -H 'Accept:
application/json, text/plain, */*' -v -X PUT -d
'{"login":"Admin","password":"2NSipMic"}' -c ~/tmp/cookies -k --noproxy "*"
* Hostname was NOT found in DNS cache
* Trying 172.25.11.68...
* Connected to 172.25.11.68 (172.25.11.68) port 80 (#0)
> PUT /api/v1/login HTTP/1.1
> User-Agent: curl/7.38.0
> Host: 172.25.11.68
> Accept: application/json, text/plain, */*
> Content-Length: 39
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 39 out of 39 bytes
^C
// Third request. Also hangs waiting for response. Aborted manually after a while.
[130] magnusal@lnxmartiso> curl 'http://172.25.11.68/api/v1/login' -H 'Accept:
application/json, text/plain, */*' -v -X PUT -d
'{"login":"Admin","password":"2NSipMic"}' -c ~/tmp/cookies -k --noproxy "*"
* Hostname was NOT found in DNS cache
* Trying 172.25.11.68...
^C