• CarrotsHaveEars@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    15 hours ago

    command line tool and library for transferring data with URLs (since 1998)

    Have you even tried to open the very link you posted and read the first line???

  • curbstickle@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    14
    ·
    21 hours ago

    curl stands for client URL, and you use it to talk to a server (URL) in whatever protocol you specify. Its used for development as a way to test client & server communication, built into applications to perform communication between a client & a server, and its used often because its extremely portable, has great error logging, can be rate limited, and can provide a substantial amount of detail about the communication.

  • Björn@swg-empire.de
    link
    fedilink
    arrow-up
    7
    ·
    20 hours ago

    It’s a program to download stuff from the web. It is very flexible. You can tell it to use cookies, post form data, upload and download files. It can do basically everything a web browser does without a graphical user interface.

    It is built into many software pieces. And developers love it to test stuff.

      • asudox@lemmy.asudox.dev
        link
        fedilink
        arrow-up
        10
        ·
        20 hours ago

        Believe me, you aren’t going to get used to nor enjoy “browsing” the web with curl. It’s not what you think it is.

          • thingsiplay@beehaw.org
            link
            fedilink
            arrow-up
            10
            ·
            20 hours ago

            For that I would rather recommend a terminal browser like lynx, w3m or links2 in example. curl is more like a single web request to download one piece of raw file (an html page or an image in example). It is not meant to interpret websites and display results. If you want save webpages for offline view, then something like wget.

          • 48954246@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            20 hours ago

            The modern internet isn’t designed to be interacted with via a terminal.

            So much of the internet today runs on JavaScript and curl won’t run that

  • dajoho@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    16 hours ago

    Curl is very low level. It will let you download things but won’t display it to you in any really useful way. It is intended to be used by other applications.

    If you’re looking to use it to browse websites using the terminal, you need something that uses curl in the background but displays anything you download to you in a sensible way. Two such applications are lynx and links2. These will run in your terminal.

    However you may not have much fun browsing facebook or anything modern. A lot of websites require javascript, which lynx or links2 will have trouble understanding.

    • spacelick@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      20 hours ago

      I still don’t understand why you won’t explain why you “need” to learn about curl.

      You don’t need to know anything at all about curl unless you’re working on a technical project, and no offense, I don’t think you are.

      Why do you ““need”” to know about curl?