the problem how to get all addresses using snippet like:
https://pastebin.com/mVg3SwMY
when I'm calling this logic, I'm getting the error:
https://pastebin.com/bC8Hm3M5
my config file looks like:
https://pastebin.com/HZtS000y
if I change config to:
https://pastebin.com/DJMuscjp
as stated here:
https://stackoverflow.com/questions/44176335/restclientexception-could-not-extract-response-no-suitable-httpmessageconverte
it gives me:
https://pastebin.com/K0Jz14kn
Print the response as json
do you mean like on 4 and 5 lines: https://pastebin.com/mVg3SwMY? I set the accept header to the json mediatype in the rest template
No accept string response instead of GeolocationAddrezsdto
I've changed to: https://pastebin.com/Hhw6Yy0y instead of custom dto GeolocationAddressDTO and the error: https://pastebin.com/CQw9kDFk
Check the API from postman
Обсуждают сегодня