The default API tooling that comes to your mind is Postman.

Postman is cloud based - the other offline alternatives are on their way to enshittification.

Is there any solution to the problem or we should all default to curl.

  • monomon@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    In emacs, there is http mode, and you can have http code blocks straight in an org mode document, it’s amazing. And it works with the overall org babel system, so variables can come from other blocks, potentially in different languages.

  • clif@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    Postman locked all my locally saved requests away after an update unless I created an account with them. I wasn’t updating very often because every update made it shittier.

    Fuck postman.

    I’ve been all in on Bruno ever since.

    • captcha_incorrect@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      I’ve used Postman et al. but I often default to PowerShell (because Windows) and a text file. It gives me everything I need from Postman without having to install or learn new tools.

      Curl is nice but I miss the object orientation in my shell when I use *sh.

    • mlg@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      13 hours ago

      It’s been downloaded over 20 billion times. It supports 25+ protocols. It’s in cars, refrigerators, TV sets, routers, printers, phones, and every goddamn server on the planet.

      Everything except my random podman container I need to test something on, but for some reason will have wget lmao.

      Also a good time to mention you can use Ctrl+x Ctrl+e to edit your multi line commands in your default terminal editor so you can keep a clean, line separated command which is easy to read and follow.

    • dhruv3006@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      5
      ·
      15 hours ago

      But then how did Postman became so popular - we can’t deny it became the default.

        • Suzune@ani.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          CLI is so easy. You learn the basic concepts and can use thousands of tools.

          curl is a very common tool. It’s installed everywhere, probably also on the postman servers… lol

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        13 hours ago

        So did windows in the business world. Just because it’s default doesn’t mean it’s the best option. People will take a pile of poop with a pretty veneer that does 90% of the work over the correct tool with a leaning curve.

      • Zwuzelmaus@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        13 hours ago

        But that was a good while ago. And it was not a cloud thing at the time it was popular.

        There are many alternatives now.

    • Undaunted@feddit.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      15 hours ago

      Bruno is pretty decent, though I don’t like that it’s not fully FOSS. The whole premium feature stuff is closed source, if I’m not mistaken.

    • Breezy@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      Yup, Bruno is my choice as well coming from Insomnia and Postman. I was lucky enough to purchase the early supporter lifetime license when it was available, so I’ll be using it for the foreseeable future. Hopefully it doesn’t enshittify as another commenter pointed out.

      While I still use curl for simple requests, I really do like having a GUI. Features like prettifying requests and responses, being able to fold code, saving requests, shared authorization across multiple requests, etc. Are the reasons why I don’t think I could ever really use CLI options.

      • Nester@feddit.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        14 hours ago

        It’s free for a single user, but you pay a subscription per user for collaborative use.

        I’m just a solo enthusiast so it’s free for what I’d use it for.

        Edit: I guess to your earlier point perhaps this a step towards enshitification and they might well put more and more tools behind a paywall.

  • EarMaster@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    I still use Insomnia as I think it offers the better experience over Postman, but I wouldn’t recommend it as it gets shifted more and more into a forced subscription model.

    I have installed Hopscotch, but Insomnia still works so I never felt the need to switch - but I am ready to do so.

  • Undaunted@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    14 hours ago

    I’ve been searching for alternatives as well, especially since Insomnia introduced mandatory account creation.

    I think Yaak is pretty good and I recently found out about Voiden, though I haven’t had a chance to try it out yet.

    Edit: I forgot to mention that if you’re using IntelliJ Ultimate for what you’re doing, it has a built-in HTTP client too. We use that a lot at work, because then you can have the requests directly together with your application’s source code inside your repository, which is kinda handy.