beautypg.com

HP StoreAll Storage User Manual

Page 206

background image

NOTE:

Enter the following commands on one line.

curl -X PUT http:////

/ -u @:

--header "x-ibrix-addomain:"

You can provide the and three different ways in
the curl command:

In the first format, double backslashes are used to preserve (escape) the backslash
separator between username and domain name:

curl -X PUT http:////

\\/ -u \\

:

As shown in the following example:

curl -X PUT http://192.168.2.2/obj/qa1\\administrator/

activedomaincontainer -u qa1\\administrator

In the second format, double quotes are used to preserve the backslash:

curl -X PUT "http:////

\/" -u "\

:"

In the third format, the %5C URL encoding of the backslash is used in the URL, but it
cannot be used in the -u user parameter:

curl -X PUT http:////%5C/
-u \\:

As shown in the following example:

curl -X PUT

http://192.168.48.204/obj/qa1.hp.com%5Cadministrator//

activedomaincontainer -u qa1.hp.com\\administrator:mypassword

HTTP version of the command

NOTE:

Enter the following command on one line.

PUT //%5C/

HTTP/1.1

206 HTTP-REST API object mode shares