Answer the question
In order to leave comments, you need to log in
Why is RestTemplate not fully accepting an object?
I'm trying to implement a proxy server for geocoding through a third-party API - OpenCage.
The API returns a JSON object, where there is an array of results, each is a set of identical data structure.
If we directly use the http request of the API itself, then we get 4 found results to a specific address. If we use RestTemplate and pass the request through it, then we get 1 result with the same input data at the output.
If the request is received by native classes from the java.net.* package, then everything works fine. What's wrong with RestTemplate?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question