haley.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 6 個月前

Just use cURL

justuse.org

external-link
message-square
49
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • webdev@programming.dev
248
external-link

Just use cURL

justuse.org

cm0002@lemmings.world to Programmer Humor@programming.dev · 6 個月前
message-square
49
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • webdev@programming.dev
alert-triangle
You must log in or register to comment.
  • TJA!@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    6 個月前

    That’s great. I like a GUI. I also do not like whatever postman is. So I have to suffer until I find something that works for me

    • PortNull@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      8
      ·
      6 個月前

      Httpie desktop? Bruno https://www.usebruno.com/?

      • TJA!@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        6 個月前

        Bruno Looks interesting. I think the last time I read about it it was very new, I might need to give it another try. I hope it will not end up like postman or insomnia.

        The first thing I see when opening the httpie app website is a “we now have ai” pop-up. So probably not that one.

        • PortNull@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          6 個月前

          Ah has ai made it to httpie now too? Shame.

  • kambusha@sh.itjust.works
    link
    fedilink
    arrow-up
    58
    ·
    6 個月前

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

    • Bazoogle@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      6 個月前

      I saw that on the main page. That was the best line

  • Ethanol@pawb.social
    link
    fedilink
    English
    arrow-up
    33
    ·
    6 個月前

    That was a fun read! I don’t even know what Postman is but I do like curl :P

    • Frezik@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      23
      ·
      6 個月前

      Be glad you don’t know what Postman is.

      The only reason I bother is because some PMs want to use it.

      • chocrates@piefed.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        6 個月前

        Look at Bruno. Its open source, though I did get pay walled the other day and it pissed me off.

        • codemankey@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 個月前

          Still has an open source version tho: https://www.usebruno.com/pricing

        • mmmac@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          6 個月前

          Check out yaak, also open source no paywall. Built on Tauri so not a dumb electron app

          • orygin@piefed.social
            link
            fedilink
            English
            arrow-up
            4
            ·
            6 個月前

            Yaak has a commercial paywall if you use the pre-built binaries. You can easily build it yourself without licensing tho

        • FishFace@piefed.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 個月前

          I thought this article was complaining about something that no-one used, but here you are recommending alternatives… alternatives that are not curl

  • CodeBlooded@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    6 個月前

    The few times I’ve used Postman, I found myself doing everything I needed in Python shortly afterwards. It’s not cURL, but it could easily be such; I prefer the self organized “text” interface of code.

  • PortNull@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    ·
    6 個月前

    Somewhere in between is https://hurl.dev/index.html

  • chasteinsect@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    6 個月前

    It’s been awhile since I had to deal with web requests. Back then I used Postman (back when I still used Windows). Now I try to always get by using the simplest open source tools for the job so thanks for sharing, will try it out.

    I knew of curl but always thought of it as a tool to play around when doing simple requests, never knew people go so far with it.

  • RheumatoidArthritis@mander.xyz
    link
    fedilink
    arrow-up
    10
    ·
    6 個月前

    As a daily curl user, this made me interested in trying out postman.

    • codemankey@programming.dev
      link
      fedilink
      English
      arrow-up
      12
      ·
      6 個月前

      There are less bloated alternatives I prefer. Like Bruno, which is easy/easier to version control.

      • myfavouritename@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 個月前

        Thanks for mentioning Bruno! It looks awesome. I haven’t tried it out, but I’m going to give it a shot today.

      • RheumatoidArthritis@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        6 個月前

        I just downloaded it, there’s even an appimage 😍

    • dariusj18@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      6 個月前

      I was pretty bullish on insomnia until it enshitified

  • ⛓️‍💥@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    ·
    6 個月前

    Command line escaping is an annoying son of a bitch and different rules apply depending if you’re using bash, cmd, powershell.

    • optional@sh.itjust.works
      link
      fedilink
      arrow-up
      17
      arrow-down
      13
      ·
      edit-2
      6 個月前

      That’s why you shouldn’t use cmd or powershell. That and the fact that you’d have to install W*nd*ws in order to use them.

      Edit: Too bad that all the downvoters didn’t leave a comment. Now I’ll never know if it was M*cr*s*ft employees on their anual works outing, or if you’re mad because I dared to use the W-word :D

      • AlphaAutist@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        6 個月前

        I hate windows/microsoft as much as anyone and i hate to say this but powershell isn’t that bad and can be installed on Linux and MacOS

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          6 個月前

          Thanks, I didn’t know that. And now I wish I could forget it again.

      • dariusj18@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        6 個月前

        Command line escaping is not a solely cmd or powershell thing to deal with. But also,

        https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.5

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          6 個月前

          Thanks, I didn’t know that. And now I wish I could forget it again.

      • BatmanAoD@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        6 個月前

        String escaping sucks in bash and other posix-style shells too, though.

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          6 個月前

          “Tru dat\!”

  • Cyno@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    6 個月前

    nah im good lol

    bruno seems decent

  • southernbrewer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 個月前

    IIRC postman has gRPC support, unlike httpie, but it’s also so awful. If you use the gRPC support, switch to Kreya instead

  • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 個月前

    This is beautiful. I’ma send this to my coworkers.

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      3
      ·
      6 個月前

      With none other than…

      • 𝚝𝚛𝚔@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 個月前

        Outlook. In HTML format. With a giant signature that includes an embedded image.

        Also the image is a 2400px image that has been resized using width and height attributes.

        • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 個月前

          Outlook.

          Thankfully Thunderbird, although most folks here just use the Roundcube web client.

          With a giant signature that includes an embedded image.

          They are auto-generated and enabled for everyone. Typical corporate bullshit I guess.

          Also the image is a 2400px image that has been resized using width and height attributes.

          It’s a portrait (that thankfully has been downsized and compressed so much, that it’s barely recognizable (thank goodness, because it’s a horrific photo)), as well as a photo of my physical signature. Oh god do I hate emails and email signatures. And fuck my company for wanting emails to look “authentic” and including this stupid ass signature.

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          1
          ·
          6 個月前

          Oh lord, don’t tell me it’s also laid out with tables, too? 😭

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 個月前

    I’m very early stages on making my own TUI for http requests that’s shortcut based. Idea is to use Jetbrains format http files. Folders for projects, sidebar for requests etc.

    Supports environments and I’m hoping I can set up the main screen to use Vim.

    It’s born out of postman hate mostly. It’s just so bloated

  • flamingos-cant (hopepunk arc)@feddit.uk
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    6 個月前

    You can pry wget from my cold, dead hands.

    • sga@piefed.social
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      2
      ·
      6 個月前

      they are different things, wget and curl do not have many overlapping use cases other than downloading stuff over http

  • QuizzaciousOtter@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    6 個月前

    curl is obviously fantastic but for more complex ad-hoc requests I usually prefer httpie.

  • Dr. Moose@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    3
    ·
    edit-2
    6 個月前

    Generally not a big fan of this type of writing especially when it’s so wrong.

    I’m an old software dev who grew up with curl but I wouldn’t recommend it to anyone new. It’s extremely dated UX that takes a long time to figure all of the quirks out. You will fail thousand times over and is a http client CLI really worth days of your time learning?

    Libcurl itself is brilliant but there are much better front ends for it like hurl or alternatives like httpie - use those instead.

    • RheumatoidArthritis@mander.xyz
      link
      fedilink
      arrow-up
      1
      ·
      6 個月前

      Same here, though last time I used a nice frontend was in 2010s, it stopped being developed like all these smaller projects finally end up, and I’m back to using curl. Perhaps it’s time to try again, httpie has been around for a while so maybe it’s here to stay

    • ⛓️‍💥@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 個月前

      Wow the httpie site is terrible

      • RheumatoidArthritis@mander.xyz
        link
        fedilink
        arrow-up
        3
        ·
        6 個月前

        Hahahahaha you’re not wrong

        Screenshot_20251022-080824_Cromite

    • ohlaph@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 個月前

      Hurl looks similar to how intellij integrates their http requests feature.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.95K users / day
  • 1.34K users / week
  • 2.43K users / month
  • 14.6K users / 6 months
  • 1 local subscriber
  • 30.4K subscribers
  • 1.79K Posts
  • 45.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org