rmict.nl
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
nikolasdimi@lemmy.world to Programmer Humor@programming.devEnglish · 23 days ago

Promoting your API tool - Guide for founders on Reddit

lemmy.world

message-square
24
link
fedilink
210

Promoting your API tool - Guide for founders on Reddit

lemmy.world

nikolasdimi@lemmy.world to Programmer Humor@programming.devEnglish · 23 days ago
message-square
24
link
fedilink
alert-triangle
You must log in or # to comment.
  • RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    77
    arrow-down
    1
    ·
    23 days ago

    Just use curl dammit!

    • rovingnothing29@lemmy.world
      link
      fedilink
      English
      arrow-up
      30
      arrow-down
      1
      ·
      23 days 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
        13
        ·
        23 days ago

        Follow redirects? curl -L

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

          Follow redirects? curl -L

          still gives HTML

          • RustyNova@lemmy.world
            link
            fedilink
            arrow-up
            9
            arrow-down
            1
            ·
            23 days ago

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

            • Scrubbles@poptalk.scrubbles.tech
              link
              fedilink
              English
              arrow-up
              4
              ·
              23 days 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
                19
                arrow-down
                1
                ·
                23 days 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
                ·
                23 days 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”

                • ‹Hexa«Back›@lemmy.blahaj.zone
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  23 days ago

                  librewolf is overkill I was expecting to hear something like links2

              • Skullgrid@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                23 days 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
                ·
                23 days ago

                deleted by creator

            • Skullgrid@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              23 days 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
        12
        ·
        23 days ago

        here ya go.

        curl cheat.sh/curl

    • mesa@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      23 days ago

      It would be fun to create a CURL converter. Just simple aliases or conversion tool.

      I just looked it up, looks like there may be something like it here: https://github.com/christianhelle/curlgenerator

      I like the look of this: https://www.createopenapi.com/

    • Hazzard@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      22 days ago

      As much as I think that’s correct a lot of the time, something like Bruno has value too. Implementing complicated auth for an annoying service once and reusing it across several pre-written requests, useful features like a GUI and history to see prior responses from an endpoint, being able to share the “collection” in the repo as examples/developer tools that’s maintained alongside the code, writing docs with each request to explain its usage, this stuff does add value that isn’t trivial to do with curl.

    • blobii@lemmygrad.ml
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      I still use curl 🥹

  • ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    22
    ·
    23 days ago

    Ok OP, just tell us what API tool you’re building.

    • nikolasdimi@lemmy.worldOP
      link
      fedilink
      arrow-up
      17
      ·
      23 days ago

      I thought no one would ask :) just open sourced it a few weeks ago. But I promise I will never pay someone to praise it pretending to be a developer.

      https://github.com/VoidenHQ/voiden

      • synapse3252@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        22 days ago

        As a developer who painstakingly crafts HTTP requests all day, I love Voiden! Voiden saves me so much time with its awesome turbo request encabulator feature.

        Download V̶̨̡͇̤̫͕̜̾̉̈́͗̎̔͝o̴͈̩͒͗̀̐̄̍̏̒̌͌̈́͠͝í̴̹͔̻̊̎̈̃̃͘d̵̨̨̨̪̠̙̼̥͔͙̻͙̼͎͖͂͑ě̴̡̡̨̡̨̙̯͓̙̣͚̜̬̣̝̯̈̿̍̈́̑͋̿̈́̓̚̕͝ͅn̵̻̲͚̺̩̗̥̣̞̱̻̈̈́̽̿̃̄͊͋̈́̾ today!

        • nikolasdimi@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          20 days ago

          wow wow thanks! please spread the word!

      • chunkystyles@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 days ago

        I installed it yesterday, and the biggest issue I’m having is envisioning what a mature project would look like in it. I have not gone looking for examples like that, but if you know of any, i’d love to see some.

        • nikolasdimi@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          22 days ago

          hey - thats great :) Happy you downloaded it :) curious to hear your feedback - I will send you a discord link as a message so its not seen as spamming.

          Let me see if I understand your question: you mean how Voiden would look when its more mature?

          What I am most excited about is that Voiden already does a few things differently from most API tools. Reusable blocks, plain-text everything, and the ability to go from testing to docs to publishing from a single source are already working and shaping how teams can work in a more consistent way.

          There is still a lot ahead (for example I want to see what kind of plugins people come up with for the tool, or how AI will eventually play a bigger role) but the principles of Voiden (reusability, composability, plain text, collaboration through git, single source of truth etc.) are the ideas I believe will define and set a new tone/standard of how API tools should be.

          • chunkystyles@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            2
            ·
            22 days ago

            No, what I’m looking for is an example of a project in Voiden that is mature. As-in, a project that a team has been collaborating on for a while.

            So how does a team structure their project in Voiden efficiently.

  • vpol@feddit.uk
    link
    fedilink
    arrow-up
    16
    ·
    23 days ago

    Same thing with every single tool. 90% of posts have hidden promotion. If not direct, then in the comments OP will “recommend”. If not in the comments - they are playing long game and wait to gain trust.

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.66K users / day
  • 4.02K users / week
  • 9.47K users / month
  • 18.1K users / 6 months
  • 1 local subscriber
  • 30.7K subscribers
  • 1.32K Posts
  • 30K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org