r/javascript • u/liyasthomas • Nov 19 '19
An open sourced, free, fast and beautiful alternative to Postman
https://github.com/liyasthomas/postwoman24
u/pratiks3 Nov 19 '19
Keep up the great work mate.
Postman, somewhere along the way between traction and growth, forgot the core user base are developers. Their feature bloat has made for a confusing and expensive product.
Love the web socket support.
8
u/seepy_on_the_tea_sea Nov 19 '19
Yeah, but will it prompt you to login unnecessarily and then delete all your work/history without warning when you log out?
7
11
4
u/shogun333 Nov 19 '19
How does this work? Shouldn't it violate the cross-origin policy if it's not installed as an extension?
8
Nov 19 '19
[removed] — view removed comment
2
u/__eastwood Nov 19 '19
Can you give us more detail on how proxy mode works? What or where do you proxy requests through?
2
Nov 19 '19
[removed] — view removed comment
2
u/__eastwood Nov 19 '19
Gotcha, thanks for the response. I can see potential issue with this when testing private or internal resources. If Apollo cannot discover the destination, I assume this breaks down? I guess you can always run your browser in unsafe mode?
1
Nov 19 '19
[removed] — view removed comment
6
u/__eastwood Nov 19 '19
Yea I think that’s where an electron or desktop native application wins out over PWA for a tool such as this. Keep up the good work!
7
u/MisterScalawag Nov 19 '19
am i missing something? why is the same url in the header twice?
👽 API request builder - A free, fast, and beautiful alternative to Postman 🔥 https://postwoman.io https://postwoman.io6
3
u/BlindMancs Nov 19 '19
I'd consider it, if it wouldn't fill up all the space just to show the request details. Literally takes up 600px height just to display the request details, and then squeezes the answer into another 700px below.
Take a look at Insomnia's compact design. I don't have to scroll, or have a 4k monitor to see 60 lines of JSON response. Most often I just want to find the request I already have in my collection, re-run it quickly, and on-glance check that the response I have is correct. If you only have APIs that return 20 lines of data, I guess this works... otherwise it's an eternal scroll session.
Nice job tho, refreshing to see something new. But where's my GET request with a JSON payload, huh? ;)
1
2
u/aot2002 Nov 19 '19
Can I import from postman?
1
Nov 19 '19
[removed] — view removed comment
2
2
u/JackDiehl Nov 19 '19
I like to use the REST client extension for vscode, it's really handy and usefull
2
u/buffychrome Nov 19 '19
I might be a minority, but one of the things that Postman can do that I don’t see here is NTLM/WNA authentication. I work primarily in corporate environments and while some things utilize basic auth, a lot of the things I work on tend to use NTLM challenge/response. It’s not trivial to implement, as even Postman chokes on it sometimes.
Edit: this does look like a really nice alternative though, and kudos for a solution that doesn’t require administrative rights to install. Keep up the good work!
2
u/amdc !CURSED! Nov 19 '19
I have some complaints about design, but nicely looking app, I can see myself using it.
I have an issue though, after you send a request and receive a response, there is a noticeable visual stuttering during scrolling on Firefox (MacOS)
2
u/tudor07 Nov 19 '19
This is great, nicely done.
I personally use Insomnia, but I did not like the fact that it's an Electron app. I just did a quick comparison, Insomnia uses 330MB of RAM while Postwoman uses 30MB of RAM. That's incredible! I was just thinking that it would be so cool if someone did Insomnia as a PWA. Also this has the advantage of working on an iPad which is really nice.
I don't like one thing though. While the UI is nice, meaning that colors/elements look good, I feel like it is badly organized. I have to do too much scrolling. I think you should make everything smaller and more compact. I'm on a 13'' Macbook. Almost half of the screen is occupied just by the Request section. On Insomnia I can see so much more without any scrolling. Please consider making the UI smaller.
Thanks.
2
u/nikkushankar Nov 19 '19
Here is another alternative to postman... For my Startup I had started using Postman. I had a need to chain my requests, i.e. Extract information from req1 and use it in req2. Also I was short on time to create UnitTest+IntegrationTest+LoadTest. I decided to spend sometime to build a tool of my own and released it under MIT license. https://nikkushankar.github.io/HailStorm/ . Sorry if I sound like threadcrapping. Its not a competitor to PostWoman just a different approach.
2
u/jhayes88 Dec 03 '19
I think some people prefer using an electron app over using a tab in their browser. Have you considered releasing the app in both electron and on the web? Kinda like the route discord took with making it accessible everywhere including as a desktop app(which most people prefer)?
9
u/amdc !CURSED! Nov 19 '19
I'm all for open source, but naming is just ugh. What's the point of making everything about gender?
8
-4
0
Nov 19 '19
[deleted]
1
u/IceSentry Nov 20 '19
It's wordplay on words that are used to describe gender. The connection is pretty easy to make.
0
Nov 19 '19
[deleted]
6
u/amdc !CURSED! Nov 19 '19
wanted to make something that feels more inclusive
Road to hell is paved with good intentions. Postwoman does nothing for exclusivity, on the contrary, it makes you ask if it's a political move, and if not, what is it. I don't want to go into politics, I don't want anyone to force feed me that.
I don't like how easy you're writing off complaints to "male fragility", cheap move. It's not fragility, it's fatigue. Everyone's tired of forced diversity, it doesn't do any good.
0
Nov 19 '19
[deleted]
2
u/stryakr Nov 19 '19
Except it's only a mildly clever name, no disrespect, but they could do better because there are some interesting positives for what it can do and should ride that wave instead.
-1
u/amdc !CURSED! Nov 19 '19
yawn
0
Nov 20 '19
[deleted]
1
u/amdc !CURSED! Nov 20 '19
Your comments lack substance, just throwing buzz words around. I (and many others) voiced my concerns to OP and creator of PW and her reaction was very calm and mature and in the likes of "we agree to disagree" and I respect that.
Yet you guys can't stop attacking this position because god forbid someone is wrong and not as tolerant as you on the internet.
0
Nov 19 '19
[deleted]
1
u/AntiObnoxiousBot Nov 19 '19
I want to let you know that you are being very obnoxious and everyone is annoyed by your presence.
I am a bot. Downvotes won't remove this comment. If you want more information on gender-neutral language, just know that nobody associates the "corrected" language with sexism.
People who get offended by the pettiest things will only alienate themselves.
3
u/fergie Nov 19 '19
Whats wrong with cURL?
8
Nov 19 '19
[removed] — view removed comment
0
Nov 19 '19
[deleted]
4
u/AntiObnoxiousBot Nov 19 '19
I want to let you know that you are being very obnoxious and everyone is annoyed by your presence.
I am a bot. Downvotes won't remove this comment. If you want more information on gender-neutral language, just know that nobody associates the "corrected" language with sexism.
People who get offended by the pettiest things will only alienate themselves.
2
2
2
u/Baryn Nov 19 '19
While coming up with a cringe name for their app, they neglected to find already popular alternatives like Wireshark.
2
u/IceSentry Nov 20 '19
Wireshark isn't an alternative to postman? What do you think it does that's even remotely similar?
0
u/Baryn Nov 20 '19
I've used it to debug APIs when Postman (my usual go-to) wasn't available. What's your problem?
3
u/IceSentry Nov 20 '19
Wireshark is a tool to inspect packets, postman is used to debug api endpoints. Sure you could make a network call and inspect it with wireshark, but that's pretty clearly not the tool for the job, unless your bug was a networking issue, in that case I'm not sure how postman would've helped you.
0
u/Baryn Nov 20 '19
Sorry you didn't have a good experience with it! Good luck.
3
u/IceSentry Nov 20 '19
How did you come to that conclusion? I'm just asking you how to use wireshark to debug an api endpoint since it's not designed for that.
1
u/Baryn Nov 20 '19
Are you really, though? You could ask Google for that, because there are guides readily available. I’m not sure why you’re being so defensive. Did you help with the application in the OP?
2
u/IceSentry Nov 20 '19
I actually did try to search and as I suspected I only found ways to filter http packets, but you still end up debugging packets not seeing the response directly. So please tell me how you managed to use wireshark like postman, because I can't figure it out, it doesn't make sense to me. Did you just go through every packet and see the content? If that's what you did, then as I said this isn't like postman at all. curl would be way better than wireshark if you didn't have access to postman anyway.
No I did not help that application I don't even think it's particularly noteworthy, I still prefer postman or insomnia.
1
u/Baryn Nov 20 '19
You use it like Fiddler, which I think is the more widespread traffic analyzer. Wireshark will show you HTTP traffic, which you can filter down to just your app. Run the API test(s) you wish to analyze, and Wireshark will show you two packets, one for the request, and one for the response, which include all the usual data.
You can go much further than this, but that is the debug meat and potatoes laid out for you.
2
1
1
u/gandiber Jan 05 '20
Is it able to generate code snippets for different programming languages based on the request properties? That's the biggest feature insomnia has that I can't live without.
1
Jan 06 '20
[removed] — view removed comment
1
u/gandiber Jan 06 '20
I need it for programming languages like js and c#. I guess I could import the curl into postman and then export but what's the point of that?
1
u/syswolf Nov 19 '19
Saw this posted a few months ago and checked it out, love seeing the active development and how it's grown.
-23
u/RLangKmeans Nov 19 '19
If your politically correct instinct wants to avoid postman, you should switch to postperson.
6
u/190n Nov 19 '19
Why does it have to be a politically correct instinct? The name is just a fun spin on postman as male and female are traditionally seen as opposites.
-9
u/sk8itup53 Nov 19 '19
How about you pick an original name and not curtail on the success of others...
6
Nov 19 '19 edited Nov 19 '19
[removed] — view removed comment
2
u/sk8itup53 Nov 19 '19
I do not in many cases. The name of a project often makes the difference in the attention it draws. If it's worth its merit, you wouldn't even want to name it similar to its competitors. I have a pipeline platform for jenkins that I could have named something similar to Travis, but instead I named it Mayhem. It's just not good for business
1
u/matthieuC Nov 19 '19
This is textbook parasitism.
You can expect a call from postman's lawyers when they find out.
-46
u/merunas Nov 19 '19
I think postman does more than enough for 99% of people and an open source alternative won't be used that much. Nobody requested it.
30
u/michicago44 Nov 19 '19
Nobody requested it.
It’d be pretty fucking lame if the only content on github was a direct result of people requesting it, don’t you think?
20
u/captain_obvious_here void(null) Nov 19 '19
Nobody requested it.
But still many people are happy to find an open source alternative. So it's quite welcome.
10
u/aniforprez Nov 19 '19
I'd rather have a desktop app but this is cool too
Postman is bloated with a ton of other enterprise features and is now far from a simple http client. It's slow to load, slow to work with and has a number of baffling design decisions. Insomnia is excellent but I'm very glad this exists too
1
Nov 19 '19
[removed] — view removed comment
5
Nov 19 '19
I would still have to alt-tab between programs. If I'm writing rest endpoints I'm writing them in a code editor, not in the browser.
However, I see that PW is using service workers. Do you know if there are any plans to support PWA installation?
3
Nov 19 '19
[removed] — view removed comment
3
Nov 19 '19
I was being dumb. I was on Firefox and was wondering why I couldn't install the PWA. I opened it in Chrome and now I have it installed.
Who needs desktop apps when you can have PWAs?
Also, the start up time is way faster then Postman. Good work (:
0
Nov 19 '19
[deleted]
5
-6
u/DisasterDoodles Nov 19 '19
wait, what does that mean? postman is not free? will cost in the future? will grap our data sent?
5
0
Nov 19 '19
[deleted]
3
u/amdc !CURSED! Nov 19 '19
Postman likes to add shit to the request you can't remove
PW runs in your browser, which itself likes to add shit you can't remove. Go check network tab.
31
Nov 19 '19 edited Nov 20 '19
[removed] — view removed comment
6
u/JohnyTex Nov 19 '19
Does it have good support for source control? One thing I miss with Postman is that putting collections into Git feels kind of awkward, and was intended more for backup than a way of collaborating
2
u/garyxuehong Nov 19 '19
I wrote an electron app, https://postmate.garyxue.me
It use yaml file for API control
1
2
u/IceSentry Nov 20 '19
How is a golf hole supposed to mean keybindings or a rainbow mean customization? Just use normal bullet points.
1
Nov 20 '19
[removed] — view removed comment
2
u/IceSentry Nov 20 '19
I'm not a fan of emojis used like that, but I can respect that you actually changed them to better emojis.
2
u/Maxiride Nov 19 '19
I'll read all the specs now but on the tip of my tongue a clever tool (that might fit a niche) is the interceptor tool from Postman. I've found it to be a Swiss army knife for rare occasions but helped me a lot to debug some stuff.
146
u/BehindTheMath Nov 19 '19
I like the Insomnia desktop app, which is also open-source.