Skip to main content
Skip table of contents

getAmazonHeaders

This method is intended to be used to get response headers and its values from Amazon after an upload in order to verify the successful upload of the files.
Map<String,String> getAmazonHeaders(String item)
Parameters:
item: File location/key of uploaded file.
Return Value: The method will return the map of response headers and its values (e.g. ETag)
Example code:
Map<String,String> headResponse = cg.SDriveTools.getAmazonHeaders(uploadRequestInfos .fileLocation);

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.