Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CloudPlugs REST Client for Arduino

CloudPlugs REST Client for Arduino is a library to make it easier to interact with CloudPlugs servers from Arduino.

Official repository https://github.com/cloudplugs/rest-arduino

Documentation at https://docs.cloudplugs.com/rest-arduino/html

See the LICENSE file for more details.

Copyright 2016 CloudPlugs Inc. http://www.cloudplugs.com

Dependencies

  • Requires the new Ethernet library API (with DHCP and DNS) which is in Arduino 1.0 and later

Installation

  1. Download the latest version of the library from https://github.com/cloudplugs/rest-arduino/archive/master.zip and save the file somewhere
  2. In the Arduino IDE, go to the Sketch -> Import Library -> Add Library... menu option
  3. Find the zip file that you saved in the first step, and choose that
  4. Check that it has been successfully added by opening the Sketch -> Import Library menu. You should now see CloudPlugs listed among the available libraries.

Usage

In normal usage, handles the outgoing request and Host header. The returned status code is parsed for you, as is the Content-Length header (if present).

Because it expects an object of type Client, you can use it with any of the networking classes that derive from that. Which means it will work with EthernetClient, WiFiClient and GSMClient.

See the examples for more detail on how the library is used.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published