About 1,190,000 results
Open links in new tab
  1. Disabling SSL Certificate Validation in Spring RestTemplate

    I am using Spring's RestTemplate class, do you know how I could do that in RestTemplate?

  2. java - How to POST form data with Spring RestTemplate? - Stack …

    Jan 16, 2017 · ResponseEntity<String> response = restTemplate.postForEntity( url, params, String.class ); I've tried to formulate the correct call in PostMan, and I can get it working correctly by …

  3. java - Sending GET request with Authentication headers using ...

    I need to retrieve resources from my server by sending a GET request with some Authorization headers using RestTemplate. After going over the docs I noticed that none of the GET methods accepts hea...

  4. java - RestTemplate: How to send URL and query parameters together ...

    Mar 15, 2016 · java resttemplate url-parameters query-string path-parameter edited Dec 20, 2022 at 0:51 starball ♦ 59.8k 53 318 1k

  5. java - Follow 302 redirect using Spring restTemplate? - Stack Overflow

    Provided that I am using getForEntity it would be assumed a GET request. I went ahead and ensured the use of the SimpleClientHttpRequestFactory in the restTemplate with only the same result. Going …

  6. Java Spring resttemplate character encoding - Stack Overflow

    I'm using the Java Spring RestTemplate for getting a JSON via a get request. The JSON I'm getting has instead of special characters like ü ö ä or ß some weird stuff. So I guess something is wrong w...

  7. java - POST request via RestTemplate in JSON - Stack Overflow

    May 19, 2016 · Can Spring use the message converters to automatically convert the Java Object to json like it did in Restful API with RestTemplate?

  8. java - Spring RestTemplate GET with parameters - Stack Overflow

    I have to make a REST call that includes custom headers and query parameters. I set my HttpEntity with just the headers (no body), and I use the RestTemplate.exchange() method as follows: HttpHead...

  9. java - RestTemplate: exchange () vs postForEntity () vs execute ...

    Sep 17, 2018 · responseEntity = restTemplate.exchange(uri, HttpMethod.POST, httpEntity, ResponseClass.class); I would like to know the usage and differences of these two methods. I also …

  10. java - Basic authentication for REST API using spring restTemplate ...

    130 I am completely new in RestTemplate and basically in the REST APIs also. I want to retrieve some data in my application via Jira REST API, but getting back 401 Unauthorised. Found and article on …