filestack-java icon indicating copy to clipboard operation
filestack-java copied to clipboard

Access to the response body from uploads

Open jagged91 opened this issue 7 years ago • 2 comments

Is there a way to access the response body, or more ideally, the 'key' parameter returned in the response body, with this library?

Here's the response:

{ "url": "https://www.filestackapi.com/api/file/s7tdGfE5RRKFUxwsZoYv", "size": 8331, "type": "image/png", "filename": "watermark.png", "key": "a1RyBxiglW92bS2SRmqM_watermark.png" }

The 'key' in my case points at the filename in S3.

jagged91 avatar Oct 15 '18 14:10 jagged91

I am sorry, we do not support this currently.

I will see what can be done about it as right now we are in the process of reworking most of this library's public API.

scana avatar Oct 15 '18 15:10 scana

Thanks! Even just the response from OKHTTP would be useful.

jagged91 avatar Oct 15 '18 15:10 jagged91