Hi,

curl is one way of calling a REST API from the command-line, but it
is not the only way.  You can create a Jenkins job, and
use many languages to call REST API's inside these jobs,
even on Windows.

For example, if you want to use groovy, using the HTTPBuilder library
is one way to do it:
https://www.google.com/search?q=groovy+rest+api

If you want to use C#, you can look at using the restsharp library:
https://www.google.com/search?q=c+sharp+rest+api

--
Craig


On Sun, Jan 31, 2016 at 9:20 AM, Scott Richmond <s.t.richm...@gmail.com>
wrote:

> I require the ability to HTTP POST data to a remote service via some kind
> of REST client. This will be done on Windows agents, so the native curl
> support in sh is not suitable. Is there any way to do this in the groovy
> script?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVdGcfd_R5pjyad7GA6KWJpnUzfmrTeuPa8kPKES0PTqmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to