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

Is it possible to download the file depending on HTTP response code? #3

Open
orlybg opened this issue Apr 2, 2014 · 1 comment
Open

Comments

@orlybg
Copy link

orlybg commented Apr 2, 2014

I have the case where I download a file from an API call (it gets generated on the fly) but first I need to check if there's actually data for the filters I apply and send in the API request.

Is this possible with Download-File-JS?

Some more details on this:
http://stackoverflow.com/questions/22649087/download-file-using-jquery-from-an-api

@PixelsCommander
Copy link
Owner

No, DownloadJS is a simple piece of code, it is not possible however I have nothing against adding some new features. Just drop some considerations how API should look like.

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

No branches or pull requests

2 participants