filestack-java
filestack-java copied to clipboard
Access to the response body from uploads
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.
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.
Thanks! Even just the response from OKHTTP would be useful.