About 1,330,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 - 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?

  3. 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 …

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

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

  5. 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 …

  6. 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 …

  7. 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 …

  8. Spring RestTemplate POST Request with URL encoded data

    Mar 6, 2018 · 52 I'm new to Spring and trying to do a rest request with RestTemplate. The Java code should do the same as below curl command:

  9. java - Follow 302 redirect using Spring restTemplate? - Stack …

    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 …

  10. java - Get list of JSON objects with Spring RestTemplate - Stack …

    Mar 21, 2015 · Second, we are calling RestTemplate.exchange () instead of getForObject (). This is the most generic way to use RestTemplate. It requires us to specify the HTTP method, …