i use spring webClient and have a code like this :
public String HttpCall() { Insurer insurer = new Insurer(); insurer.setName(“Axa”); insurer.setId(“T-18578