Hubungi URL HTTP dari Java Rest Remplate

@Bean
public RestTemplate restTemplate(RestTemplateBuilder builder) {
 
    return builder
            .setConnectTimeout(Duration.ofMillis(3000))
            .setReadTimeout(Duration.ofMillis(3000))
            .build();
}
Helpful Hamster