Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to the response body from uploads #81

Open
jagged91 opened this issue Oct 15, 2018 · 2 comments
Open

Access to the response body from uploads #81

jagged91 opened this issue Oct 15, 2018 · 2 comments
Assignees

Comments

@jagged91
Copy link

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.

@scana
Copy link
Contributor

scana commented Oct 15, 2018

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 scana self-assigned this Oct 15, 2018
@jagged91
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants