diff --git a/doc/user-guide/section_object-api-response-formats.xml b/doc/user-guide/section_object-api-response-formats.xml
index e007f08e6a..187c25ac6f 100644
--- a/doc/user-guide/section_object-api-response-formats.xml
+++ b/doc/user-guide/section_object-api-response-formats.xml
@@ -77,7 +77,7 @@
For example, this request uses the
format query parameter to ask
for a JSON response:
- # curl -i $publicURL?format=json -X GET -H "X-Auth-Token: $token"
+ $ curl -i $publicURL?format=json -X GET -H "X-Auth-Token: $token"
HTTP/1.1 200 OK
Content-Length: 96
X-Account-Object-Count: 1
@@ -108,7 +108,7 @@ Date: Fri, 17 Jan 2014 15:59:33 GMT
XML example with Accept header
This request uses the Accept request
header to ask for an XML response:
- # curl -i $publicURL -X GET -H "X-Auth-Token: $token" -H "Accept: application/xml; charset=utf-8"
+ $ curl -i $publicURL -X GET -H "X-Auth-Token: $token" -H "Accept: application/xml; charset=utf-8"
HTTP/1.1 200 OK
Content-Length: 263
X-Account-Object-Count: 3
diff --git a/doc/user-guide/section_object-api-versioning.xml b/doc/user-guide/section_object-api-versioning.xml
index 55e91de8c2..727e7c12a6 100644
--- a/doc/user-guide/section_object-api-versioning.xml
+++ b/doc/user-guide/section_object-api-versioning.xml
@@ -31,7 +31,7 @@
Create an archive container to
store older versions of objects:
- # curl -i $publicURL/archive -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/archive -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
@@ -52,7 +52,7 @@ Date: Thu, 23 Jan 2014 21:11:57 GMT
objects in the current container
automatically create non-current versions in the
archive container.
- # curl -i $publicURL/current -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" -H "X-Versions-Location: archive"
+ $ curl -i $publicURL/current -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" -H "X-Versions-Location: archive"
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
@@ -62,7 +62,7 @@ Date: Thu, 23 Jan 2014 21:28:55 GMT
Create the first version of an object in the
current container:
- # curl -i $publicURL/current/my_object --data-binary 1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/current/my_object --data-binary 1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
HTTP/1.1 201 Created
Last-Modified: Thu, 23 Jan 2014 21:31:22 GMT
Content-Length: 0
@@ -88,7 +88,7 @@ Date: Thu, 23 Jan 2014 21:31:22 GMT
Create a second version of the object in the
current container:
- # curl -i $publicURL/current/my_object --data-binary 2 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/current/my_object --data-binary 2 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token"
HTTP/1.1 201 Created
Last-Modified: Thu, 23 Jan 2014 21:41:32 GMT
Content-Length: 0
@@ -103,7 +103,7 @@ Date: Thu, 23 Jan 2014 21:41:32 GMT
do any request redirects or metadata lookups.
List older versions of the object in the
archive container:
- # curl -i $publicURL/archive?prefix=009my_object -X GET -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/archive?prefix=009my_object -X GET -H "X-Auth-Token: $token"
HTTP/1.1 200 OK
Content-Length: 30
X-Container-Object-Count: 1
@@ -128,7 +128,7 @@ Date: Thu, 23 Jan 2014 21:45:50 GMT
remove the current version of the object and replace
it with the next-most current version in the
non-current container.
- # curl -i $publicURL/current/my_object -X DELETE -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/current/my_object -X DELETE -H "X-Auth-Token: $token"
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
@@ -138,7 +138,7 @@ Date: Thu, 23 Jan 2014 21:51:25 GMT
container to show that the archived object was moved
back to the current
container:
- # curl -i $publicURL/archive?prefix=009my_object -X GET -H "X-Auth-Token: $token"
+ $ curl -i $publicURL/archive?prefix=009my_object -X GET -H "X-Auth-Token: $token"
HTTP/1.1 204 No Content
Content-Length: 0
X-Container-Object-Count: 0
@@ -158,7 +158,7 @@ Date: Thu, 23 Jan 2014 21:51:41 GMT
current container, remove its
X-Versions-Location metadata
header by sending an empty key value.
- # curl -i $publicURL/current -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" -H "X-Versions-Location: "
+ $ curl -i $publicURL/current -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" -H "X-Versions-Location: "
HTTP/1.1 202 Accepted
Content-Length: 76
Content-Type: text/html; charset=UTF-8