invoking REST call at job startup

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

invoking REST call at job startup

John Duffie
At job startup, I need to make a single REST client call.  Is there a
suggested REST client to use for this?
Reply | Threaded
Open this post in threaded view
|

Re: invoking REST call at job startup

Arvid Heise-3
There is no clear recommendation. You should bundle whichever client you like or need. Common options are okhttp [1] or httpcomponents [2].

In the easiest case, you could also just use java's URL to send that one request and avoid a new dependency.


On Thu, Feb 27, 2020 at 9:35 PM John Duffie <[hidden email]> wrote:
At job startup, I need to make a single REST client call.  Is there a
suggested REST client to use for this?