How to call External API and get the auto generated Address field with postcode Spring Boot java17
I'm trying to create the entity class for user and save the Address by calling a external API(Auto generate the address by postCodes UK)
public class LandLord implements UserDetails { private Long id; private String firstName; private String lastName; private String username; private Address address;