Giter Site home page Giter Site logo

lucasdiasjorge / lib-curl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 57 KB

Project created to access APIs with C language. Used in Arduinos, Rasp and others microcomputers.

C 98.21% Makefile 0.20% C++ 1.60%
api-client arduinos c cjson curl orangepi raspberry-pi esp32 linux sockets

lib-curl's Introduction

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)

lib-curl's People

Contributors

lucasdiasjorge avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.