Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@lemmings.world )  to Programmer Humor@programming.dev · 1 year ago

Just use cURL

justuse.org

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

Just use cURL

justuse.org

cm0002 ( cm0002@lemmings.world )  to Programmer Humor@programming.dev · 1 year ago
message-square
29
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • webdev@programming.dev
alert-triangle
You must log in or # to comment.
  • Ethanol ( Ethanol@pawb.social ) 
    link
    fedilink
    English
    arrow-up
    29
    ·
    1 year ago

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

    • Frezik ( frezik@lemmy.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      22
      ·
      1 year ago

      Be glad you don’t know what Postman is.

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

      • chocrates ( chocrates@piefed.world ) 
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

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

        • FishFace ( FishFace@piefed.social ) 
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

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

        • mmmac ( mmmac@lemmy.zip ) 
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

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

          • orygin ( orygin@piefed.social ) 
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

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

        • codemankey ( codemankey@programming.dev ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

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

  • flamingos-cant (hopepunk arc) ( flamingos@feddit.uk ) 
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    You can pry wget from my cold, dead hands.

    • sga ( sga@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      2 months ago

      deleted by creator

  • Andromxda 🇺🇦🇵🇸🇹🇼 ( Andromxda@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

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

    • QuazarOmega ( QuazarOmega@lemy.lol ) 
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      With none other than…

      • 𝚝𝚛𝚔 ( trk@aussie.zone ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        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 🇺🇦🇵🇸🇹🇼 ( Andromxda@lemmy.dbzer0.com ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          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 ( QuazarOmega@lemy.lol ) 
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

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

  • Azzu ( Azzu@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    This is such a weird article. Electron is not for making http requests, it’s for rendering web pages. Nothing within curl can render web pages. I’m not saying you should be using electron necessarily, but this is just so obviously wrong, what is the author thinking?

    And (almost) any programming language has a built-in primitive for making http requests (possibly even using libcurl internally), why would I switch to a command line call if I can just do the http call directly with that primitive?

    • MinFapper ( MinFapper@startrek.website ) 
      link
      fedilink
      English
      arrow-up
      20
      ·
      1 year ago

      I think it’s a jab at Postman, which is essentially curl with a GUI.

      • dubyakay ( dubyakay@lemmy.ca ) 
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Postman has Collection Runner tho, which is useful for people that like to dick around on a GUI and get their data harvested and used for AI training instead of writing their own script in Python.

  • PortNull ( portnull@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

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

  • RheumatoidArthritis ( RheumatoidArthritis@mander.xyz ) 
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

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

    • codemankey ( codemankey@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

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

      • myfavouritename ( myfavouritename@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year 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 ( RheumatoidArthritis@mander.xyz ) 
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

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

    • jenesaisquoi ( jenesaisquoi@feddit.org ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      It will upload your credentials to the cLoUd and ask you for payment to do basic things. Completely enshittified.

  • QuizzaciousOtter ( QuizzaciousOtter@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

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

  • Frezik ( frezik@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

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

  • CodeBlooded ( CodeBlooded@programming.dev ) 
    link
    fedilink
    arrow-up
    2
    ·
    1 year 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.

  • goatinspace ( goatinspace@feddit.org ) 
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    • PodPerson ( PodPerson@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Bighead is not to be fucked with.

  • chasteinsect ( chasteinsect@programming.dev ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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.

  • Cyno ( Cyno@programming.dev ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 484 users / day
  • 2.67K users / week
  • 4.1K users / month
  • 7.65K users / 6 months
  • 462 local subscribers
  • 33.7K subscribers
  • 1.57K Posts
  • 25.7K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code