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

  • VoxAliorum@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    9 hours 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.

  • silasmariner@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    1 day 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
      4
      ·
      1 day 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
        2
        ·
        10 hours ago

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

  • crater2150@feddit.org
    link
    fedilink
    arrow-up
    9
    ·
    1 day 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?

  • undefinedTruth@lemmy.zip
    link
    fedilink
    arrow-up
    90
    ·
    2 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.

  • pticrix@lemmy.ca
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    2 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.

      • Hazzard@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        59 minutes ago

        Wow, what a mess. Personally, I’m fine with this degree of telemetry, trying to understand how many people are using your app has obvious value and isn’t a huge concern for me compared to what telemetry usually refers to. This feels like a bit of a “mountain out of a molehill” where the overwhelming quantity of feedback has aggravated the primary dev into being very jaded about the whole topic. I assume he got a lot more flack for this than is still preserved in this thread.

        The big thing about Bruno is that nothing is synced to the cloud, so I can use it without worrying about it being a security risk. In addition to being pretty great, and letting me easily distribute a collection in a git repository. For that, it definitely still earns my support as a good tool, whether I’m logged as a “daily active user” or not.

        Still, hopefully the main version does get that opt out added, mostly just to remove the black mark from its name and to be properly GDPR compliant.

      • Mikelius@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Man, we just can’t win with these UI tools, I also thought Bruno was the solution. Only use it on my work machine so that’s why I guess I never noticed this. Thank you for sharing, time to go back to digging for better alternatives.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      1 day 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.

    • Infrapink@thebrainbin.org
      link
      fedilink
      arrow-up
      12
      ·
      1 day ago

      No, he has his own bizarre approach

      I generally do not connect to web sites from my own machine, aside from a few sites I have some special relationship with. I usually fetch web pages from other sites by sending mail to a program (see https://git.savannah.gnu.org/git/womb/hacks.git) that fetches them, much like wget, and then mails them back to me. Then I look at them using a web browser, unless it is easy to see the text in the HTML page directly. I usually try lynx first, then a graphical browser if the page needs it.

  • HubertManne@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 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
    12
    arrow-down
    1
    ·
    2 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…