httpie / desktop Goto Github PK
View Code? Open in Web Editor NEW🚀 HTTPie Desktop — cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs.
Home Page: https://httpie.io
License: Other
🚀 HTTPie Desktop — cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs.
Home Page: https://httpie.io
License: Other
There is a menu in the response section, labeled Response.
When selected, a grey background appears with two green checkmarks and no text/label by either.
Selecting 1 or the other and returning makes no change in the state of the checks. They both remain in an identical state and colored green, so there is no appearance of a selection being made.
This being in dark mode on an M1 running macOS 12.2.1.
Using httpie release 2022.6.0 (2022.6.0).
- launch the app.
- select the response label to the right of the params label.
- click the button and see a pair of green checkmarks with nothing to choose.
- pseudo click one if you like, nothing changes.
- note: this happens no matter what is selected in the library; be it a draft, a sent request, or a new request.
in all cases i've checked the button discloses the same 2 'options' with both checks in place.
I expected to select something which would optionally modify the text in the results section.
MacOS ARM64
2022.6.0 (2022.6.0)
No response
Looks like it's supported since if I paste a curl request httpie app asked to edit then save the request.
But the app failed to handle a vanilla request like below:
curl 'https://some.url.org/v2/content/search' \ -H 'authority: api.staging.dpa0.org' \ --data-raw '{"entities_by_integration": {"internal": ["experiencescore_org"]}}' \ --compressed
A same request could be handled in apps like insomnia correctly.
When trying to send a big file over 500MB (don't know the exact limit), the right panel shows "Unhandled internal error occurred" and no request is actually sent on the receiver side
1. Set POST request and enter URL (Using a public domain pointing to a server where I do dev work on)
2. Go to Body tab, pick "File" and choose a file that is 500MB or bigger
3. Press "Send" and wait for error to show
I expected it to send the file and give a response, as it works fine with httpie
CLI, curl
, and wget
. On closer look I can see that all requests are getting proxied through AWS servers which isn't mentioned anyway, causing issues when trying to test big file uploads, as well as other things like the request IP not coming from where you expect
Windows
2022.13.0
No response
Bind ⌘R to Send
button instead of Reload
.
Pressing ⌘R refreshes the contents of the Httpie desktop window—instead of resending the request.
This sequence is muscle memory for web developers:
⌘S
(cmd + s]⌘Tab
[cmd + tab]⌘R
(cmd + r]Rinse & repeat.
Now replace the browser with Httpie desktop.
Same muscle memory, different outcome. Now, when pressing ⌘R
in step 4, the whole contents of the Httpie app window updates instead of just resending the request as is intended.
Currently we're forced to reposition the mouse over the Send
button and click each time to resend the current request.
I mean… how are we even supposed to live?! 🤣
When attaching a binary file to a form that requires multipart/* and then attempting to toggle off the multipart, the app remains stuck on the dialog box that appears saying "Form contains binary files so can't be converted to urlencoded". There is no click-away area around the dialog and no close button. Initially discovered on Windows but macOS and web app exhibit the same behavior. Refresh works which does "close" the dialog but this isn't obvious.
1. Begin request
2. Select Form for Body
3. Add file to form value (click change in the multipart change dialog if necessary)
4. Click the multipart toggle in the bottom left
Dialog to close
Windows
2022.11.1
No response
Since the new update (Version 2022.7.0 (2022.7.0)) I've noticed that the close, minimize and expand buttons are misaligned.
As you can see the greyed out placeholders are still visible behind it.
1. Launch the app
2. Look at the buttons :)
That they where aligned.
macOS
2022.7.0
No response
I already ❤️ the httpie cli. The App looks also very promising. But I can't switch to it, yet, as we work extensively with GraphQL and the support in, e.g., Insomnia is really good.
I know this is not a small thing, but it should be in the backlog 😁
Currently all you get is <binary data>
- Insomnia et al give me a way to copy it, view it, export it etc
To add ability to import/export spaces/collections/request as file
A convenient way to exchange requests between users
Would you consider implementing saving the history for all requests?
Like postman, when I POST a request to auth api, the response include Set-Cookie. Could httpie automatic append those cookies to next request?
During the installation got this error
~ : AppImageLauncher HTTPie-2022.13.0.AppImage
Gtk-Message: 16:06:10.203: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:06:10.204: Failed to load module "canberra-gtk-module"
ERROR: ld.so: object '/usr/lib/appimagelauncher/libbinfmt-bypass-preload.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
execv error: No such file or directory
1. Download file from Release page https://github.com/httpie/desktop/releases/download/v2022.13.0/HTTPie-2022.13.0.AppImage
2. Run `AppImageLauncher HTTPie-2022.13.0.AppImage`
3. Got this error
I expect HTTPie to be installed on my Ubuntu 20.04
Linux
2022.13.0
No response
Introduce templating syntax to allow using values from one request's response, as input for another request.
Improves UX. Users don't have to copy-paste values that are dynamic by nature.
For example, a /login
path returns a token in the response. A /users
path uses the received token in an x-authorisation-token
header. If token expires after a given time, you'd have to keep on copy-pasting the refreshed token.
I was developing an API and noticed that you can't cancel a stalled request. It seems that you thought of this already, its just that it doesn't work.
There is a workaround for this behavior, but it requires me to close the tab and lose all my work.
Btw, an issue template or form would be super helpful.
Generate Client Code like the tool Insomnia,thks
The ellipses aren't centered.
1. Launch the app
2. Hover mouse over More... menu button
The ellipses should be centered within the parent container.
macOS
2022.5.1
No response
Hi,
i am using Linux, more specific Ubuntu 20.04 ( bugdie )
and you don't need AppImage Launcher to run the app or exist beter alternatives beside that.
here the prove.
1. Download HTTPie-*.AppImage (or HTTPie-*arm64.AppImage for ARM64 architecture)
from the latest release page
2. right click on file > permissions > Execute: check "Allow executing file as program" or
via command line: chmod +x [name of appimage].AppImage
Expect to show in the docs alternatives ways to install in linux base, like is in this website:
https://www.makeuseof.com/what-is-appimage-and-how-to-run-it-linux/
Linux
2022.5.1
No response
Add ability to search inside JSON response via CTRL+F, or Right-click > Select 'Search text'
JSON response text will be searchable.
Is this possible that Httpie desktop supports custom coloring?
My LCD is an old one and some colors look better on it than others! If I be able to edit the UI colors like other Apps, I would have a better visual experience with Httpie ^^
Hello bro, I hope you are doing well.
First of all, I want to thank you for the story of "losing 54K github stars"...this could have happened to any of us or any project...we are human and there is always the possibility of making mistakes.
I am glad You continued with strength...😃❤️
And but I'm new to the project... I'm very surprised that there is a web version for both Android and desktop... At first I was going to use the cli but I haven't installed it yet... Soon this I will do the job! :)
When I was working with the website (web app), I noticed a number of bugs in the display of the website in mobile...
I tried to fix them
Here are their videos
(to show the httpie website development team)
1- https://drive.google.com/file/d/1EOz-GxfQ-Xgj8hk8L1aJK5pDmM_Ywxf6/view?usp=share_link
2- https://drive.google.com/file/d/1s4Lb5h14pG39aacu8jjUzGwzfQAFfdQI/view?usp=share_link
I hope that in the future updates, more functions and protocols will be added
I really enjoyed your project and your creativity in making the online version and I will try my best to help as much as possible.
I have a request in my collection named :8080/wunderbar-mock-server/graphql
. When I open the Edit...
menu item, I can't change the value, not even move the cursor.
and use param in header like this
and there is no use to set like this way
1 set env param for Authorization
2 use the param in a query
env param can be read by using like {{ENV_PARAM}}
No response
2022.12.0
No response
I don't know if this is the best place to write this, but it would have been nice to have the ability to make OPTIONS
requests.
As far as I see it is possible to do from the command line but not from the desktop app.
Maybe some other request method will come handy too, for instance HEAD
and COPY
.
A search bar that enables find and replace functionalities across the preview text box.
Enables the users to look through the response, especially if it is particularly nested or long.
…
Not sure if it's a bug, feature or I'm just not seeing something that's in the app already, but I've stumbled upon some icons I couldn't infer their actual function or affordance e. g. until clicked… Should all the value input icons have tooltips or just some of the (deliberately chosen) toughest ones?;)
From what is used as input label or action metaphors:
My selection for rendering the response from the server is reset on every request.
1. Create a basic request
2. Select any way to render the app (just not the default which is **Browser** in my case
3. Submit the request
4. Observe that the selection has been reset to **Browser**
I expected my selection to be persisted for each subsequent request sent.
macOS
2022.5.1
No response
When using the ctrl+W hotkeys to close the selected draft request, the application exited.
1. Launch app
2. Open some request's draft
3. Use hotkey ctrl+W
4. App is turned off
The selected request draft will close
Windows
2022.5.1
No response
[x] I've searched for similar feature requests.
Option to copy request for usage with command line httpie
Enables me to use request on different computer / server without httpie desktop and without having to create it from scratch.
…
I can not access http://example.com out of desktop app
Installed app,
opened it,
entered http://example.com into address bar,
hit "Send"
got
"Connection refused
Check the URL and try again."
Message
See example.com site being loaded into the app as online version shows.
macOS
2022.5.1
No response
Currently it's possible to set the Auth on a collection which can be inherited by the requests. It would be nice to have this feature with headers too.
Sometimes a user wants to set default headers to be used across all requests.
I was wondering if the HTTPie project would consider supporting Flatpak as the packaging solution for Linux. It has slowly been taking over as the main universal packaging format for Linux. One of the big advantages over your current solution, AppImage, is that there is no need for a helper package like AppImageLauncher to properly integrate into a system. The other main advantage is that HTTPie can be distributed & discovered through a main app center, Flathub. Flathub is available from a variety of sources, including their website as well as native application stores like GNOME Software & Elementary OS' AppCenter.
Thanks for considering this proposal!
--reese
I started using the HTTPie Desktop application for Intel Macs and after about 10 minutes after the first run the application went blank. I haven't been able to fix the issue and have reinstalled. Is there a way for me to clear caches or reset state?
Not sure it can be reproduced but...
1. Installed application.
2. Opened and began exploring the features like cycling through request previews and collections.
3. After about 10 min screen goes blank.
I expected the application to return a user interface after force refreshing, or closing and reopening the application.
macOS
2022.6.0
dependencies.js:15 TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at dependencies.js:15
at Array.map (<anonymous>)
at Function.formatHeaderName (dependencies.js:15)
at Function.groupHeadersForDisplay (dependencies.js:15)
at Function.getHeaderLines (dependencies.js:15)
at Function.getHeaders (dependencies.js:15)
at q.getHeaders (dependencies.js:15)
at q.getHeadersWithStartLine (dependencies.js:15)
at q.toString (dependencies.js:15)
at Cj (dependencies.js:15)
at ia (dependencies.js:15)
at qs (dependencies.js:15)
at kc (dependencies.js:15)
at Sc (dependencies.js:15)
at Ec (dependencies.js:15)
at mc (dependencies.js:15)
at dependencies.js:15
at t.unstable_runWithPriority (dependencies.js:15)
at Ho (dependencies.js:15)
at Go (dependencies.js:15)
at Ko (dependencies.js:15)
at lc (dependencies.js:15)
at Ta (dependencies.js:15)
at dependencies.js:15
at dependencies.js:15
at Object.next (dependencies.js:15)
at a (dependencies.js:15)
(anonymous) @ dependencies.js:15
index.js:2 Refused to load the script 'https://cdn.s.httpie.io/next-integrations/middleware/analytics.js-middleware-braze-deduplicate/latest/analytics.js-middleware-braze-deduplicate.js.gz' because it violates the following Content Security Policy directive: "script-src 'self' data: 'unsafe-eval' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
At present it is possible to expand/collapse an object in the JSON response, but not arrays.
Allows better readability of large data sets with arrays.
After fetching a very large data set, I tried to fold some of my data, however, it only folded the first few thousand rows.
1. Fetch a response that contains several thousand lines of json
2. try to fold, only a few thousand rows will fold
3. folding repeatedly seems to fold a few thousand more each time
I expected the entirety of the object to have folded
Linux
2022.6.0
No response
A search bar that enables find and replace functionalities across the preview text box.
Enables the users to look through the response, especially if it is particularly nested or long.
…
Close all tabs
button and lose everything 💥.If you open multiple tabs and close them individually, there will be a pop-up dialog wanting you to confirm the action, as being said in How we lost 54k GitHub stars
article this is a perfect choice! But unfortunately, this is not implemented for more-important task of group deleting tabs in the application! If you press Close all tabs
button, everything gets deleted right away.
This also aplies to all other group-deleting features of the application like
Close all other tabs
and others.
A confirmation dialog must be shown like other destructive actions.
I can easily add an invalid header by just skipping its name, ending up only with a value.
The red dot indicating invalid line seems to be the affordance for validation error, yet on hover it turns into trashcan icon (and stops indicating there's a problem with the line) where I really pointed the cursor to read what's the issue:
The actual validation is explained on hovering the (non-existent) name, without any indication one should expect it there, as the header name placeholder doesn't e. g. turn red or such to indicate it's the source of the issue:
Therefore my guess is that the red dot should be moved elsewhere, not disappear on hover, and maybe it should be the hint target for displaying the actual error too, if there's no obvious, implicit, visible validated element in error state that should bind to the issue tooltip?
Funnily I can't disable such invalid line from the request, only valid lines can be disabled:
Quickly being able to deactivate the error lines without trying to figure out how to fix them before moving on with the request and to keep them for posterity would maybe make more sense than to not actually allowing them to be just turned straight off…
I would like Httpie to have persistance of scroll position while switching between tabs.
This feature will enable the user to visually compare bits of response previews or requests between different tabs.
I would like Httpie to have persistance of scroll position while switching between tabs / memory of cursor position.
This feature will enable the user to visually compare bits of response previews or requests between different tabs.
Sorry if I am missing something but I cannot seem to find the License for the desktop app anywhere. Could you please add the relevant license to this repo? Also, if it is open-source, could you please also include the build instructions?
The desktop version doesn't give me a response to the request. It seems that it never initiates the request.
- Entered the `https://frontmatter.codes/api/stars` URL
- Clicked on send
- Request panel updates, but the request doesn't seem to get sent
I would hope for a response to come back.
macOS
2022.7.0
No response
When trying to run HTTPie-Setup-2022.12.0.exe
on Windows 10 I get a popup that reads:
Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
App: HTTPie-Setup-2022.12.0.exe
Publisher: Unknown publisher
Run Anyway? Don't Run
Is this expected?
Looking at https://stackoverflow.com/questions/48946680/how-to-avoid-the-windows-defender-smartscreen-prevented-an-unrecognized-app-fro it looks like maybe it doesn't have an Extended Validation signing certificate?
1. Run `HTTPie-Setup-2022.12.0.exe`
2. Get the popup
I expected it to install normally.
Windows
2022.12.0
Where is the log?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.