I am trying to retrieve specific match details from the table-tennis app API using the provided resource link. However, I am facing difficulties in getting the desired information.
I have tried sending a GET request to the API endpoint with the match_id parameter, expecting to receive the details of that particular match. Unfortunately, I am not getting the expected response.
RestTemplate restTemplate = new RestTemplate();
String url = "https://table-tennis.sportdevs.com/news-matches?match_id=eq.{match_id}";
MatchDetails matchDetails = restTemplate.getForObject(url, MatchDetails.class);
New contributor
Marse Senior is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.