Comment 7 for bug 1062046

Revision history for this message
Itsuro Oda (oda-g) wrote :

Sorry. This is my mistake. I will do feedback later.

>for example:
>---
>$ curl -v -H "X-Auth-Token: 5399f4a8e6d04768894b620edbb07d41" -H "Content-Type: application/json" -X PUT -d >{"netwok": {"name": "netX"}} http://172.17.190.3:9696/v2.0/networks/e763c6ba-6cc9-4bbb-9d2d-f547fe6c4392
>curl: (3) [globbing] unmatched brace at pos 7
>curl: (3) [globbing] unmatched close brace/bracket at pos 5
>* About to connect() to 172.17.190.3 port 9696 (#0)
>* Trying 172.17.190.3... connected
>> PUT /v2.0/networks/e763c6ba-6cc9-4bbb-9d2d-f547fe6c4392 HTTP/1.1
>> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
>> Host: 172.17.190.3:9696
>> Accept: */*
>> X-Auth-Token: 5399f4a8e6d04768894b620edbb07d41
>> Content-Type: application/json
>> Content-Length: 8
>>
>* upload completely sent off: 8out of 8 bytes
>< HTTP/1.1 500 Internal Server Error
>< Content-Type: application/json
>< Content-Length: 88
>< Date: Tue, 16 Oct 2012 23:08:30 GMT
><
>* Connection #0 to host 172.17.190.3 left intact
>* Closing connection #0
>{"QuantumError": "Request Failed: internal server error while processing your request."}
>---