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

Promoting your API tool - Guide for founders on Reddit

lemmy.world

message-square
18
fedilink
113

Promoting your API tool - Guide for founders on Reddit

lemmy.world

nikolasdimi@lemmy.world to Programmer Humor@programming.devEnglish · 7 hours ago
message-square
18
fedilink
  • rovingnothing29@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    6 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
      10
      ·
      5 hours ago

      Follow redirects? curl -L

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

        Follow redirects? curl -L

        still gives HTML

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

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

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

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

            I didn’t expect anything to be honest.

          • Scrubbles@poptalk.scrubbles.tech
            link
            fedilink
            English
            arrow-up
            4
            ·
            3 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

            • RustyNova@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              51 minutes 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”

            • RustyNova@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              52 minutes ago

              deleted by creator

            • floquant@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              7
              ·
              2 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

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

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

              I didn’t think anything to be honest.

    • NullPointer@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 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: [email protected]

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.44K users / day
  • 4.5K users / week
  • 7.91K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 30.3K subscribers
  • 2.16K Posts
  • 83.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org