Send An HTTP Request | C libcurl Library Introduction

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 32

  • @Phenomenal7
    @Phenomenal7 Рік тому +3

    Finally it's here ,C for networking I've been looking forward to this.
    Thank you so much for this 🙌

    • @PortfolioCourses
      @PortfolioCourses  Рік тому +1

      You're very welcome, I'm hoping to make more videos on network programming in C! :-)

  • @starc0w
    @starc0w Рік тому +7

    Great tutorial! Thank you very much!

    • @PortfolioCourses
      @PortfolioCourses  Рік тому +2

      You're very welcome, I'm glad you enjoyed it, and thank you so much for the super thanks! :-)

    • @kar486
      @kar486 10 місяців тому

      how to run curl library code .in vs code
      @@PortfolioCourses

  • @lehisluguer9300
    @lehisluguer9300 3 місяці тому

    great tutorial as always :D ... im wondering if i can use this lib on my C++ projects?

    • @PortfolioCourses
      @PortfolioCourses  3 місяці тому +1

      Yes though there are other libraries for C++ specifically: github.com/yhirose/cpp-httplib

  • @peterhans8788
    @peterhans8788 Рік тому +1

    Thank you for the video.
    I am using Debian and the library is uknown.
    I downloaded and moved it to the location of the c file.
    The linker throws errors.. Do you know how to implement an external library like a professional 🙂?

    • @PortfolioCourses
      @PortfolioCourses  Рік тому

      Hi Peter, there is usually a way to use a package manage to install things like this instead of doing it "manually". The debian page lists this:
      wiki.debian.org/deb
      Which recommends this package manager:
      wiki.debian.org/Aptitude
      Maybe I can make a video talking about these topics one day. The issue is there's lots of package managers, though maybe I can pick a popular one or something and talk about it. :-)

    • @peterhans8788
      @peterhans8788 Рік тому

      @@PortfolioCourses
      That would be wonderful if you could make a video about package managers! Appreciate it :)

  • @bresent
    @bresent Рік тому

    You never disappoint me

  • @0x54dotexe
    @0x54dotexe 10 місяців тому

    please make a video of how to send email to a friend telling him Hello for example using this library

  • @dobcs3236
    @dobcs3236 9 місяців тому

    thank you very much 👍

  • @tamoghnabhaduri530
    @tamoghnabhaduri530 8 місяців тому

    But is it used anywhere?? I dont know.

    • @PortfolioCourses
      @PortfolioCourses  8 місяців тому

      Yes, the project has 6.2k forks and 33k stars on GitHub for example: github.com/curl/curl

    • @amj864
      @amj864 5 місяців тому

      libcurl is installed default on most platforms.

  • @Pixiesprinkle
    @Pixiesprinkle Рік тому

    I guess it would be a good idea to pass it to memory before writing to file, to avoid write//file error aka as a safety like a temp file?

    • @PortfolioCourses
      @PortfolioCourses  Рік тому +2

      I didn’t think about that, but that’s true, if it’s in memory you could handle an error writing to a file. If you just redirect stdout, then you can’t do much if there’s a problem writing to the file.

  • @Amaru1111
    @Amaru1111 6 місяців тому +1

    Fucking amazing

  • @OsamaHasan000
    @OsamaHasan000 Рік тому

    Thanks

  • @yoruichi5802
    @yoruichi5802 Рік тому

    😮

  • @sohagali6252
    @sohagali6252 10 місяців тому

    Game

  • @jondo-vh8tx
    @jondo-vh8tx 9 місяців тому

    python: import requests req=request.get("url") vs your 60 line of code . why is c++ so complicated for nothing?

    • @PortfolioCourses
      @PortfolioCourses  9 місяців тому +1

      Hahaha I feel this, that’s why I love Python. :-) I still love C for seeing how things work “under the hood”.

    • @jondo-vh8tx
      @jondo-vh8tx 9 місяців тому

      @@PortfolioCourses :D amazing. i mean im like what am i missing, everyone else in here is so happy about the vid, when i cactualy know another language making the same issue lots and lots easier just by runing two lines of code. im a new beginner in the c++ world and sometimes i think we make stuff harder....in this case i would have use the normal library and using curl with system command system and i bet it would work!? :D

    • @realElzie
      @realElzie 8 місяців тому

      I am working on a project for college and we have to use C++ to do web scraping because C++ is more secure to run on servers than Python. If I could use Python then I would, but I am very glad this library exists. Also, C and C++ are much faster than Python as an added bonus.

    • @jondo-vh8tx
      @jondo-vh8tx 8 місяців тому +2

      @@realElzie indeed. im learning c++ but jisses its not easy :D . why you do web scarping your gangstah ;)

    • @AlameenAdeyemi
      @AlameenAdeyemi 5 місяців тому +1

      U cant understand 😌