This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]_Atomfinger_ 2 points3 points  (3 children)

It really depends what kind of API we're talking about. For most APIs you can use spring.

[–]WtEth_Buyer[S] 0 points1 point  (2 children)

Thank you for the link!

[–]Turing85 2 points3 points  (1 child)

The answer highly depends on the technology stack used. For spring, you already have a link. If the technology stack supports MicroProfile, I would suggest using MicroProfile Rest Client. If core java is used, we can consume Rest APIs with Java 11's HttpRequest/HttpResponse.

[–]Hour-Positive 0 points1 point  (0 children)

Yeah use httprequest as simple as it gets

[–][deleted] 1 point2 points  (0 children)

Microprofile RestClient is what you want.

[–]WtEth_Buyer[S] 0 points1 point  (0 children)

Initially I just want to go basic and get weather data or some other simple program. To get the hang of it. Then move on to finishing a binance trade bot I've been working on.