Top "Resttemplate" questions

Use this tag for Spring's RestTemplate, a class for client-side HTTP communications and RESTful principles enforcement.

Get list of JSON objects with Spring RestTemplate

I have two questions: How to map a list of JSON objects using Spring RestTemplate. How to map nested JSON …

java spring resttemplate
How to set an "Accept:" header on Spring RestTemplate request?

I want to set the value of the Accept: in a request I am making using Spring's RestTemplate. Here is …

spring rest resttemplate
POST request via RestTemplate in JSON

I didn't find any example how to solve my problem, so I want to ask you for help. I can't …

java json spring rest resttemplate
How to POST form data with Spring RestTemplate?

I want to convert the following (working) curl snippet to a RestTemplate call: curl -i -X POST -d "email=first.…

java spring rest resttemplate
Spring RestTemplate - how to enable full debugging/logging of requests/responses?

I have been using the Spring RestTemplate for a while and I consistently hit a wall when I'am trying to …

java debugging logging resttemplate
Spring RestTemplate timeout

I would like to set the connection timeouts for a rest service used by my web application. I'm using Spring's …

spring rest timeout resttemplate
Making authenticated POST requests with Spring RestTemplate for Android

I have a RESTful API I'm trying to connect with via Android and RestTemplate. All requests to the API are …

java android spring rest resttemplate
Could not read JSON: Can not deserialize instance of hello.Country[] out of START_OBJECT token

I have rest url that gives me all countries - http://api.geonames.org/countryInfoJSON?username=volodiaL. I use RestTemplate …

java spring resttemplate fasterxml
Spring Resttemplate exception handling

Below is the code snippet; basically, I am trying to propagate the exception when the error code is anything other …

spring rest exception-handling resttemplate
Sending GET request with Authentication headers using restTemplate

I need to retrieve a resources from my server by sending a GET request with the some Authorization headers using …

java spring spring-mvc resttemplate