How do you send a cURL header call using an HTTP request?
Here are some common curl
commands for the most common HTTP methods. The domain object considered here is:
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document
@Validated
public class Movie {
@Id
private String id;
private String name;
@NotNull
private Integer year;
@NotNull
private List<String> cast;
private LocalDate release_date;
}