diff --git a/en_US/iredadmin/0-iredadmin-pro.restful.api.curl.md b/en_US/iredadmin/0-iredadmin-pro.restful.api.curl.md index 9b3d702f..e433eb92 100644 --- a/en_US/iredadmin/0-iredadmin-pro.restful.api.curl.md +++ b/en_US/iredadmin/0-iredadmin-pro.restful.api.curl.md @@ -19,15 +19,13 @@ Sample `curl` commands to interact iRedAdmin-Pro RESTful API. # # Login # -# Replace `` by the real admin email address. -# Replace `` by the real admin password. # It will create a plain text file `cookie.txt` under current directory. curl -X POST -c cookie.txt -d "username=&password=" https:///iredadmin/api/login # # Create domain (POST) # -# cn=ABC Inc. (display name: "ABC Inc." +# cn=ABC Inc. (display name: "ABC Inc.") # quota=20480 (quota: 20 GB) curl -X POST -i -b cookie.txt -d "cn=ABC Inc."a=20480" https:///iredadmin/api/domain/ diff --git a/html/iredadmin-pro.restful.api.curl.html b/html/iredadmin-pro.restful.api.curl.html index d9977547..6d55d1ea 100644 --- a/html/iredadmin-pro.restful.api.curl.html +++ b/html/iredadmin-pro.restful.api.curl.html @@ -36,15 +36,13 @@
#
 # Login
 #
-# Replace `<username>` by the real admin email address.
-# Replace `<password>` by the real admin password.
 # It will create a plain text file `cookie.txt` under current directory.
 curl -X POST -c cookie.txt -d "username=<username>&password=<password>" https://<server>/iredadmin/api/login
 
 #
 # Create domain (POST)
 #
-# cn=ABC Inc. (display name: "ABC Inc."
+# cn=ABC Inc. (display name: "ABC Inc.")
 # quota=20480 (quota: 20 GB)
 curl -X POST -i -b cookie.txt -d "cn=ABC Inc.&quota=20480" https://<server>/iredadmin/api/domain/<domain>