Crony's Dungeon
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 2 months ago

Just use cURL

justuse.org

external-link
message-square
37
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
231
external-link

Just use cURL

justuse.org

cm0002@lemmings.world to Programmer Humor@programming.dev · 2 months ago
message-square
37
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • kambusha@sh.itjust.works
    link
    fedilink
    arrow-up
    53
    ·
    2 months ago

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

    • Bazoogle@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

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

  • Ethanol@pawb.social
    link
    fedilink
    English
    arrow-up
    26
    ·
    2 months ago

    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
      19
      ·
      2 months ago

      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
        ·
        2 months ago

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

        • mmmac@lemmy.zip
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          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
            3
            ·
            2 months ago

            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
          3
          ·
          2 months ago

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

        • codemankey@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

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

  • Dr. Moose@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    3
    ·
    2 months ago

    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.

    • ⛓️‍💥@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 months ago

      Wow the httpie site is terrible

      • RheumatoidArthritis@mander.xyz
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Hahahahaha you’re not wrong

        Screenshot_20251022-080824_Cromite

    • RheumatoidArthritis@mander.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      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

    • ohlaph@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

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

  • ⛓️‍💥@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 months ago

    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
      16
      arrow-down
      14
      ·
      edit-2
      1 month ago

      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

      • BatmanAoD@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        1 month ago

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

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          “Tru dat\!”

        • FuckBigTech347@lemmygrad.ml
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 month ago

          I rather deal with that than any Micro$oft® Garbage®.

      • AlphaAutist@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        1 month ago

        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
          ·
          1 month ago

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

      • dariusj18@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        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
          ·
          1 month ago

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

  • flamingos-cant (hopepunk arc)@feddit.uk
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    2 months ago

    You can pry wget from my cold, dead hands.

    • sga@piefed.social
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      2
      ·
      2 months ago

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

  • RheumatoidArthritis@mander.xyz
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

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

    • codemankey@programming.dev
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 months ago

      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
        ·
        1 month ago

        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
        ·
        2 months ago

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

    • dariusj18@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      I was pretty bullish on insomnia until it enshitified

  • TJA!@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    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

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Is there one of these for shell scripts over CI/CD frameworks?

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    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

  • chasteinsect@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    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.

  • CodeBlooded@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    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.

  • southernbrewer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

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

  • Cyno@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    nah im good lol

    bruno seems decent

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.

  • 426 users / day
  • 4.05K users / week
  • 7.47K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 27.7K subscribers
  • 1.79K Posts
  • 55.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org