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