things like oauth, binary websockets, loads of headers, etc all are way worse in curl than others. postman is terrible but there are plenty of other gui/cli options
Web Development
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
I want to read more, but sadly curl is the only article on the site.
Or don't. Alternatives are available - often with nicer interfaces!
IMO the main reason to use curl is that Chrome lets you copy web requests as a curl command line.
I use xh. It's quite nice.
I did not know that postman existed. Knowing that made my life worse.
It's gotten even worse when they moved completely to the cloud like a year or two ago! You now can't use it without making a Postman account, and all your API collections are stored on their servers :) Absolutely no security risks here, API endpoints of in-development systems aren't a massive attack vector at all !!
We had to ban the whole tool at my company, the alternative of choice is Bruno because it's at least completely local when you install it.
How so
Because it's awful
What makes you say that though... What specifically about it do you find awful? I prefer xh on the off times I need to test an API, but I remember sometimes it was nice to be able to save API calls as a set, like in the GUI programs.
API calls can be saved as a set with curl too. It's called folders (or in my case, shell scripts where each call is a bash function).
Let's be honest, that's not really the same thing, is it. Not as easy to work with. It's been a while since I used a GUI like that but I remember it being much easier to manipulate query parameters and post body etc with a GUI. At least according to me. 🤷♂️
Pretty much everything said on the website... I'm a hardcore cli, max. tui user. Using electron is torture.
😁 I feel you, I'm pretty much the same.
Would be neat to have a TUI query suite where you could organize an API in a similar way. If anybody knows one, drop it below! 🙏
maybe there's an nvim plugin?
That would be neat. I migrated to Helix a couple years ago though.
Kind of like Ruby on Rails
I offer a compromise of using python's requests library. It's got most of the listed benefits, but I like python better than shell scripting.
It's weird that I've been seeing job posts that list postman as a required skill. It's not great.
I did use "Bruno" for a while to have a GUI for making requests. It was fine.