This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new f7e6600  Updated Usage (markdown)
f7e6600 is described below

commit f7e66009908566d6a3f131af50676ec06e38cfb2
Author: Rohit Yadav <[email protected]>
AuthorDate: Thu Mar 14 13:21:47 2019 +0530

    Updated Usage (markdown)
---
 Usage.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Usage.md b/Usage.md
index 63445fb..abfe387 100644
--- a/Usage.md
+++ b/Usage.md
@@ -73,6 +73,11 @@ Some APIs accept array or maps as their arguments, in that 
case use `arg0.key=va
 > create networkoffering supportedservices=Dhcp,Dns 
 > serviceproviderlist[0].service=Dhcp 
 > serviceproviderlist[0].provider=VirtualRouter 
 > serviceproviderlist[1].service=Dns 
 > serviceproviderlist[1].provider=VirtualRouter
 ```
 
+Content of a file can be passed using a special syntax of `@/path/to/file` 
passed to the API request. For example:
+```
+> upload customcertificate certificate=@/tmp/c.crt privatekey=@/tmp/c.key 
domainsuffix=some.domain.com
+```
+
 ## Text processing using pipes
 
 Text processing is very easy, one can pipe the output to other terminal tools 
such as awk, sed, grep, jq etc. Examples:

Reply via email to