D
D
Denis Kuznetsov2020-12-04 01:40:00
Java
Denis Kuznetsov, 2020-12-04 01:40:00

How to get data from a third-party resource?

Hello, could you tell me how to get the data? There is the following task:
Implement the following processes in the application to call GET /rate/{date}:
call the service for obtaining the history of USD quotes from https://exchangeratesapi.io/
So, how should I get access to the contents of someone else's page? If yes, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2020-12-04
@DennisKingsman

Hello!
Since you are working with Spring, look towards RestTemplate
https://www.baeldung.com/rest-template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question