-->
Page 1 of 1

Found a cool REST API for the arduino esp.

PostPosted: Mon Apr 06, 2015 11:06 am
by CptanPanic
https://github.com/marcoschwartz/aREST

Looks like it makes a super easy REST API. Now I just need to find an easy to build mobile web-app for it.

Re: Found a cool REST API for the arduino esp.

PostPosted: Sun Oct 25, 2015 1:35 pm
by Neurogami
CptanPanic wrote:https://github.com/marcoschwartz/aREST

Looks like it makes a super easy REST API. Now I just need to find an easy to build mobile web-app for it.


There doesn't appear to be anything in the code to handle the different HTTP request types (POST, HEAD, GET, PUT, etc.) which are essential to REST.

For example, reading a value would be a GET request; updating a value should be a PUT request.

Re: Found a cool REST API for the arduino esp.

PostPosted: Sun Oct 25, 2015 1:58 pm
by Barnabybear
CptanPanic wrote:https://github.com/marcoschwartz/aREST

Looks like it makes a super easy REST API. Now I just need to find an easy to build mobile web-app for it.


https://github.com/marcoschwartz/aREST_UI goes nicely with it.

Hangs at times - I'm just trying to work out why.

http://iot-playground.com/2-uncategorised/40-esp8266-wifi-relay-switch-arduino-ide is simple if you just want to do some switching.