Mercurial > repos > imgteam > curl_post
comparison curl_post.xml @ 0:7f9434fc9d4c draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/curl_post commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
| author | imgteam |
|---|---|
| date | Sat, 09 Feb 2019 14:34:54 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7f9434fc9d4c |
|---|---|
| 1 <tool id="curl_post" name="cURL" version="0.0.2"> | |
| 2 <description>send cURL POST requests</description> | |
| 3 <requirements> | |
| 4 <requirement type="package" version="7.62.0">curl</requirement> | |
| 5 </requirements> | |
| 6 <command><![CDATA[curl -X POST -s '$url' --data-binary '$input' > '$output' ]]></command> | |
| 7 <inputs> | |
| 8 <param name="url" type="text" value="" label="URL"/> | |
| 9 <param name="input" type="data" format="data" label="Source file"/> | |
| 10 </inputs> | |
| 11 <outputs> | |
| 12 <data name="output" format="txt" /> | |
| 13 </outputs> | |
| 14 <tests> | |
| 15 <test> | |
| 16 <param name="input" value="sample_seg.tif"/> | |
| 17 <param name="url" value="https://galaxyproject.org"/><!--what url can be used here?--> | |
| 18 <output name="output" value="curl.txt" ftype="txt"/> | |
| 19 </test> | |
| 20 </tests> | |
| 21 <help> | |
| 22 **What it does** | |
| 23 | |
| 24 Uses cURL to send a file via POST. | |
| 25 </help> | |
| 26 <citations> | |
| 27 <citation type="doi">10.7717/peerj.453</citation> | |
| 28 </citations> | |
| 29 </tool> |
