-
Notifications
You must be signed in to change notification settings - Fork 35
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
Download any response as a file #962
Comments
Sorry for the slow response. There is no visible option for it in the UI. RESTer should open a file save dialog if the response contains the appropriate header, e.g. If this doesn't work for you, it sounds like a bug. Can you share the response headers where you expected RESTer to download the response as a file? |
Thank you for your help. Actually, I'm not even sure that I'm sending the query correctly. Because looking the value you specified, I never put any filename. Here is the context. I use RESTer to query a REST API. Here is what I have in my header inside RESTer screen when I send my query
Now sometimes, I need to get the result in CSV format instead of JSON. In that case, I write As you suggested I tried to add the following to my query header:
But nothing happend in terms of downloading. The query succeeded as usual (HTTP code 200) but that's all. Here is the response header
|
Content-Disposition must be a response header for this to work. (Not a request header.) I believe filename is then optional, but it should test to make sure. It sounds like in our case an option in the UI to download the response as a file would be helpful. Is that correct? |
Yes. Besides, unless I have not understood how RESTer functions, it seems to me that currently a user has only the possibility of setting request headers in RESTer's UI. Am I right? |
Yes, RESTer can only set request headers. I'll take this as a feature request to download any kind of response as a file. |
Hello
In the download page of RESTer on Mozilla, at the bottom of the page, there is a release note:
I have installed the 4.11.0 version, yet I don't see this option available.
Is that normal?
Thanks in advance.
The text was updated successfully, but these errors were encountered: