Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.29 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.29 KB

Using lib curl in C

Done:

Next step:

  1. Making REST methods with curl (main)

    • Post

    • Get

    • Put

    • Delete

  2. Making Post from txt file (feature/post-file)

    • Used on data stored in embedded Rasp pi memory
  3. Refactor ifs to functions

    • Done ?

Installation

  1. Linux only, for now
  2. Clone the repo
    git clone https://github.com/LucasDiasJorge/Curl-in-C.git
  3. Install Lib Curl
    sudo apt-get install libcurl4-openssl-dev
  4. Compile the project
    gcc -o main main.c -lcurl
  5. Exec main
    ./main <operation> <url>

(back to top)

Usage

For more examples, please refer to the Documentation

For more http tutorials and etc, please refer to the Documentation

User Agent Refer

For post, used Curl post

(back to top)