diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-09-20 09:45:39 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-09-20 09:45:39 +0000 |
commit | 937bc73a72a122df25e3f1558ab3c75b9e0e06fa (patch) | |
tree | a0a43c22077ae7ad125a49184205af86b271e392 /api-ref | |
parent | 539c3d417c97cc007248473ca0a052f392d1eb19 (diff) | |
parent | d40ff7098b3dd13b5ea846b86b9e8461ac1875b1 (diff) | |
download | swift-937bc73a72a122df25e3f1558ab3c75b9e0e06fa.tar.gz |
Merge "Clean up api-ref examples"
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/storage-object-services.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/api-ref/source/storage-object-services.inc b/api-ref/source/storage-object-services.inc index 0bfcf9db9..6e5cf5157 100644 --- a/api-ref/source/storage-object-services.inc +++ b/api-ref/source/storage-object-services.inc @@ -174,7 +174,7 @@ Example requests and responses: :: - curl -i $publicURL/janeausten/helloworld.txt -X PUT -H "Content-Length: 1" -H "Content-Type: text/html; charset=UTF-8" -H "X-Auth-Token: $token" + curl -i $publicURL/janeausten/helloworld.txt -X PUT -d "Hello" -H "Content-Type: text/html; charset=UTF-8" -H "X-Auth-Token: $token" @@ -183,8 +183,8 @@ Example requests and responses: HTTP/1.1 201 Created Last-Modified: Fri, 17 Jan 2014 17:28:35 GMT - Content-Length: 116 - Etag: d41d8cd98f00b204e9800998ecf8427e + Content-Length: 0 + Etag: 8b1a9953c4611296a827abf8c47804d7 Content-Type: text/html; charset=UTF-8 X-Trans-Id: tx4d5e4f06d357462bb732f-0052d96843 Date: Fri, 17 Jan 2014 17:28:35 GMT @@ -194,7 +194,7 @@ Example requests and responses: :: - curl -i $publicURL/janeausten/helloworld -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" + curl -i $publicURL/janeausten/helloworld.txt -X PUT -d "Hola" -H "X-Auth-Token: $token" @@ -203,8 +203,8 @@ Example requests and responses: HTTP/1.1 201 Created Last-Modified: Fri, 17 Jan 2014 17:28:35 GMT - Content-Length: 116 - Etag: d41d8cd98f00b204e9800998ecf8427e + Content-Length: 0 + Etag: f688ae26e9cfa3ba6235477831d5122e Content-Type: text/html; charset=UTF-8 X-Trans-Id: tx4d5e4f06d357462bb732f-0052d96843 Date: Fri, 17 Jan 2014 17:28:35 GMT @@ -666,7 +666,7 @@ Example requests and responses: :: - curl -i $publicURL/marktwain/goodbye -X POST -H "X-Auth-Token: $token" H "X-Object-Meta-Book: GoodbyeOldFriend" + curl -i $publicURL/marktwain/goodbye -X POST -H "X-Auth-Token: $token" -H "X-Object-Meta-Book: GoodbyeOldFriend" |