GithubHelp home page GithubHelp logo

salanki / httpclient Goto Github PK

View Code? Open in Web Editor NEW

This project forked from interactive-matter/httpclient

0.0 3.0 0.0 145 KB

An Arduino HTTP Client

Home Page: https://interactive-matter.eu/how-to/arduino-http-client-library/

C++ 50.55% C 32.89% Arduino 16.56%

httpclient's Introduction

HTTPClient for Arduino WiFi Shield

Overview

An Arduino HTTP Client that uses the Arduino WiFi Library to make HTTP requests and handle responses. This is a fork of the HTTP Client library at https://github.com/interactive-matter/HTTPClient . Except for the inital setup all API functions are the same (for GET, POST and so on), please refer to their documentation.

Usage

The only thing that differs from the original implementation is the initiation, you supply only the hostname of the server in the constructor.

HTTPClient client("www.google.com");

There is an HTTP Get example included that will show how to get started and also some tricks in error handling.

The Arduino WiFi Library is currently very poor. The performance is lacking and it is not stable. There are some watchdog tricks included in the example but in some cases you might have to reset the entire arduino and shield externally (either via button press or using the RESET pin).

The WiFi library currently does not support running a server at the same time you are running a client, if you are intending to build a sketch which both acts as a server and makes client connections it will lead to a lot of headache and misery.

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.