skip to Main Content

Json – How to filter array based on selected item

I have an array of objects in an json file: [ { "department": "Sound Department", "subDepartments": [ "Supervising Sound Editor", "Dialog Editor", "Sound Designer", "Foley Artis", "Sound Recordist" ] }, { "department": "Camera Department", "subDepartments": [ "Camera Operator", "Second Assistant…

VIEW QUESTION

AWS S3 GET pre-signed url fails with CORS intermittently

I'm generating a pre-signed url using java for an image stored in s3 public String generateDownloadLink(String bucketName, String responseContentDisposition, String key, int days) { GetObjectRequest objectRequest = GetObjectRequest.builder() .bucket(bucketName) .responseContentDisposition(responseContentDisposition) .key(key).build(); GetObjectPresignRequest preSignRequest = GetObjectPresignRequest.builder() .signatureDuration(Duration.ofDays(days)) .getObjectRequest(objectRequest) .build(); PresignedGetObjectRequest presignedRequest…

VIEW QUESTION
Back To Top
Search