Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
nikolasdimi@lemmy.world to Programmer Humor@programming.devEnglish · 21 hours ago

Promoting your API tool - Guide for founders on Reddit

lemmy.world

message-square
24
fedilink
177

Promoting your API tool - Guide for founders on Reddit

lemmy.world

nikolasdimi@lemmy.world to Programmer Humor@programming.devEnglish · 21 hours ago
message-square
24
fedilink
  • rovingnothing29@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    20 hours ago

    -Curl “https://justuse.org/curl/”

    -Returns a ton of html stuff

    Can’t even comply with their own argument.

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      19 hours ago

      Follow redirects? curl -L

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        18 hours ago

        Follow redirects? curl -L

        still gives HTML

        • RustyNova@lemmy.world
          link
          fedilink
          arrow-up
          10
          arrow-down
          1
          ·
          17 hours ago

          Yeah? That’s what the response is. What do you expect?

          • Scrubbles@poptalk.scrubbles.tech
            link
            fedilink
            English
            arrow-up
            4
            ·
            17 hours ago

            I think they’re point is that curl is great but then you have to have a way to render it to know if it’s correct. With apis you can use jq, but yeah a dump of html isn’t really useful to humans

            • floquant@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              16
              arrow-down
              1
              ·
              16 hours ago

              Yeah but we’re talking about API tools, not web browsers. People are using postman to see JSON, XML, or whatever horrible format the devs on the other side chose to use, not to render HTML graphically. If you query an HTML page using curl, you should get the HTML back, I don’t see what’s the problem

            • RustyNova@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              15 hours ago

              Oh. Fair enough. The intent for curl is definitely to display the HTML as it’s whole point.

              Anyways.

              curl -L -o “/tmp/your.html” https://justuse.org/curl && librewolf “/tmp/your.html”

              • HexaBack@lemmy.blahaj.zone
                link
                fedilink
                arrow-up
                1
                ·
                10 hours ago

                librewolf is overkill I was expecting to hear something like links2

                • RustyNova@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 hours ago

                  Yeah, but It’s more that you probably already have a browser open, so it’s better to just reuse the resources

                  Also, just replace it with your favourite browser. It should also just work

            • Skullgrid@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              17 hours ago

              I tried the suggestion and saw that the original complaint persisted.

              I didn’t think anything to be honest.

            • RustyNova@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              15 hours ago

              deleted by creator

          • Skullgrid@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            17 hours ago

            I tried the suggestion and saw that the original complaint persisted.

            I didn’t expect anything to be honest.

    • NullPointer@programming.dev
      link
      fedilink
      English
      arrow-up
      11
      ·
      20 hours ago

      here ya go.

      curl cheat.sh/curl

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.

  • 2.9K users / day
  • 4.9K users / week
  • 8.19K users / month
  • 18K users / 6 months
  • 1 local subscriber
  • 30.3K subscribers
  • 1.86K Posts
  • 56.3K 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