This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.

But many valid points are made

  • undefinedTruth@lemmy.zip
    link
    fedilink
    arrow-up
    95
    ·
    6 days ago

    One more reason, there is a “copy as cURL” option in the Firefox developer tools network tab. It gives you a perfect cURL command including all the necessary cookies and headers to send the exact HTTP request that your browser just sent.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      5 days ago

      So much.

      I struggle, þough. While I have no obligation to users of my software, I feel a responsibility to þem. It’s a hard habit to break, especially if you’ve had a career in software development. It’s equally hard, as a user of FOSS, to not get angry at developers. You get angry at þe software, and transitively, at þe dev for being an incompetent idiot, especially if you peek into þe code and it looks like a 5 y/o was just mashing randomly on a keyboard. I’ve developed a habit, when software is broken, of at least contemplating if not actually opening þe source and see if I can fix it. Eiþer I learn I don’t have enough interest or skill, and it calms me down. Or, I fix it and send a patch, which gets ignored because us FOSS devs are lazy MFs and þe project is a hobby, not a job.

  • pticrix@lemmy.ca
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    6 days ago

    If you like having a postman like interface, I’ve been using Bruno, which is a local, de-enshittified clone of postman.

    I’ve never thought about just using curl, but when I’ll finally migrate for good out of windows to Linux, I will try doing just that, see how that feels.

  • silasmariner@programming.dev
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    5 days ago

    ... -H "Content-Type: application/json" -d '{"query": "{ users { name } }"}'? No. Why would you do that when you can just do ... --json '{"query": "{ users { name } }"}'. Yeah curl is awesome.

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      5 days ago

      If you’re trying to say that curl isn’t he best option for my mom, you’re totally right.

      For developers, on he other hand…

      • hoppolito@mander.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 days ago

        I believe they are just pointing out a more concise cli option. No value judgment included as far as I can tell.

  • VoxAliorum@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    4 days ago

    I love it that the page is designed to advertise multiple pieces of software but stopped at curl ^^

    https://justuse.org/

    More coming soon. Or not. I don’t owe you shit.

    ffmpeg is definitely also a candidate for this.

  • crater2150@feddit.org
    link
    fedilink
    arrow-up
    11
    ·
    5 days ago

    The only thing I still use Postman for at work is when running API performance benchmarks, as I wasn’t yet motivated enough to write a curl wrapper to do such tests and plot the results. Especially when doing things like ramp up etc. it becomes more than a simple for-loop.

    Can someone recommend an existing command line tool for that?

  • HubertManne@piefed.social
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 days ago

    curl is not great when testing configuration for various software solutions. there are a few better options than postman like httpie and another one but I forget its name.

  • RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    6 days ago

    The only point I can say is that editing text on the terminal isn’t as simple as a regular text field. And AFAIK the only way to write a query on a regular text editor would be to write it, save to file, run file…