class PostmanService {

    String getContentType(KeyValue[] headers) {
        return Arrays.stream(headers)
                .filter(h -> "Content-Type".equals(h.getKey()))
                .findFirst()
                .map(KeyValue::getValue)
                .orElse(null);
    }

}