Mercurial > repos > thomaswollmann > curl_post
annotate curl_post.xml @ 0:9e9a41b6c153 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
author | thomaswollmann |
---|---|
date | Mon, 07 Jan 2019 08:37:19 -0500 |
parents | |
children | 9e285fe716f9 |
rev | line source |
---|---|
0
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
2 <tool name="cURL POST" id="curl_post" version="0.0.2"> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
3 <description>send cURL POST</description> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
4 <requirements> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
5 <requirement type="package" version="7.62.0">curl</requirement> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
6 </requirements> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
7 <command><![CDATA[curl -X POST -s '$url' --data-binary '$input' > '$output' ]]></command> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
8 <inputs> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
9 <param name="url" size="30" type="text" value="" label="URL"/> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
10 <param name="input" type="data" format="data" label="Source file"/> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
11 </inputs> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
12 <outputs> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
13 <data name="output" format="txt" /> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
14 </outputs> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
15 <tests> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
16 <test> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
17 <param name="input" value="sample_seg.tif"/> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
18 <param name="url" value="https://galaxyproject.org"/><!--what url can be used here?--> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
19 <output name="output" value="curl.txt" ftype="txt"/> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
20 </test> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
21 </tests> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
22 <help>Uses cURL to send a file via POST.</help> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
23 <citations> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
24 <citation type="doi">10.7717/peerj.453</citation> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
25 </citations> |
9e9a41b6c153
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit 42d972afdd700fccae1017c06efbfd06b9c96791
thomaswollmann
parents:
diff
changeset
|
26 </tool> |