Postman: a powerful HTTP client (for Chrome) to test web services
getpostman.com
getpostman.com
First I thought "Damn, that's no news. I use it for ages ...", but some things are worth to be reminded of from time to time.
On a side note, it's interesting how, though you posted postman on HN a couple of times before, it hit the front page only now.
Taking that into consideration, Postman's web interface lets you
- See all the request history that you can easily reply any of them with one click
- Save requests and share them (including a collection of requests)
- Have and share environment variables to change, for example, between production and development API urls, password, params, etc (I know, a CLI also lets you do that, but it soooo simple to just select and preview the environment variables from the list)
- easily handle oAuth and other authentication forms out of the box
But you will suffer (a lot) trying to use Postman to - Handle binary input/outputs
- Stream responses
- Handle cookies
So, depending on what your day to day problems are you should use a different tool... Oh, and I didn't know about HTTPie, thanks for sharing :)
There's still a wide market for GUI based programs, and Postman is an excellent extension that I've used for years (even though I'm a CLI guy myself). It's always there, easy to use, and powerful to boot.
Edit 1: Grammar / Spelling
All of those would be eliminated with preparation and planning. And the results would be better quality than ad hoc poking with Bash
Meanwhile, in the real world, sometimes things have to be done fast and messily.
> There are lots of things that you can do easily with postman but would be difficult with a CLI tool.
the jury is still out on this one. i'm not buying it now either. you've convinced me Postman is easier for non-technical people, but i'm not convinced it's more useful or easier than a command line.
> What do I do?
Install the extension and use postman easily.
EDIT: If like me, you're using a Mac, you can use Alfred to open Postman. I still have no idea where to find the extension (I have both the extension and the "packaged app", whatever the difference is, installed on my machine)
I would still like an example of a series of Http:// requests that is "difficult" to do with just curl, wget and a bit of shell script.
For more advanced or one off testing, curl would still be my go to.
I would really be happy if there is any tool which give option "Copy as curl" !
(would give - curl 'https://news.ycombinator.com/news.css?Iufnib6nCakqGh6wo0m6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36' --compressed )
EDIT: Why the hell was I downvoted for suggesting a good app? goddammit...
Can you tell us how Rested compares with Postman in terms of features and any pros/cons you found?
* fat fingered an upvote
* vote ring detection evasion bot randomly selected you
for an upvote(I think your comment was fine - it serves a similar purpose so if people are interested in this thread there is a good chance [like me] they might be interested in this too.)
I wish it could be wrapped in a native app or even just let it run in a chrome tab.
Edit: here it is, both the extension (tab) and the packaged app (window): https://chrome.google.com/webstore/search/postman?hl=en
That Postman extension that you linked, I actually didn't know about this before, but that doesn't seems like something provided by the original developer. Any idea whats the story behind it? EDIT: Nevermind, just Googled the domain. Its the same developer.
And when you do it hundreds of times, it gets seriously tedious.
I have 6 desktops running on 2 physical monitors and keep windowed things easily accessible. Nothing more than two swipes away.
The other thing I've done (with Zed in particular) is put the icon for the packaged app into my dock, so I can get to it quickly from anywhere. Of course, this becomes unwieldy if you have a lot of them in there!
If you're on Windows and is looking for an alternative, check out wcfstorm.rest (http://www.wcfstorm.com/wcf/learn-more-rest.aspx). It has a lot features similar to postman and adds some more, like saving requests and responses into functional test cases which includes a showing a graphical "diff" between the actual and expected responses as well as being to define custom validation rules that is executed against the http response. It can also do a single load test as well a distributed load test using several machines (http://www.wcfstorm.com/wcf/how-to--distributed-performance-...)
WcfStorm.Rest is a paid software but it has a LITE version which is available for free and works well for ad-hoc testing and exploring REST API endpoints.
It's an amazing tool. I have been using it almost daily since long back.
https://chrome.google.com/webstore/detail/advanced-rest-clie...
If you never came across Firefox Tamper Data Add-on, this might be a great opportunity to mention it.
https://addons.mozilla.org/en-US/firefox/addon/tamper-data/
A different tool, yet targeting similar audience (us).
If you have to fiddle with the command line, you're doing it wrong. It drives us nuts in the Plan9 community that Bash history and readline is seen as some sort of productivity tool. We have powerful shell primitives but the command line is seen as the last resort of composing them. Admittedly we have a terminal window with which you can edit text in two dimensions but use a proper set of tools with a bit of forethought and you get much more done.
If you need an oauth client, write one with a few bits of script and use it everywhere. It's the Unix way.
I don't understand what this means, can you explain?
I personally have a .bash_profile (more generally, a collection of dot files) in a git repo that I share between machines. I also find myself using Meta-. and CTRL-R quite frequently.
I prefer the excellent Fiddler tool for manual fiddling, and yet have to find a good test-suit tool. Or write it myself...
We have security auditing rules that require us to compile the programs we run from source. We prefer small programs as they are easier to audit.
Does anyone know how much RAM is required to compile Chromium?
Can it be done on a laptop?
I like working out of the browser and Postman has just the right amount of features I need.
Most people don't seem to see it as anything more than a bookmark. I searched the menus for it and did not find it. And it was sitting right there.
I use it as a packaged app, so launching it is the same as it is for native stuff.
I will suggest Postman for sure.
How to use it, https://www.youtube.com/watch?v=Dxf-o_DLSLw
Thank you but no.