Hello,
Does the Spark Core able to send REST request (with parameters) to some web service with a web url?
if so, how can i do it?
Moors7
December 14, 2014, 1:59pm
2
If you do a quick forum search (try the magnifying glass), you’ll notice that there are quite a few topics about this already. Please take a look at those, and feel free to ask questions if you have problems understanding some of it.
I’ve been working on a project that requires multiple REST calls and unfortunately didn’t see the work going on here: https://community.spark.io/t/spark-core-http-client-library/3251 So I ported the simple RestClient for Arduino library to work with...
Reading time: 2 mins đź•‘
Likes: 12 ❤
Hye This project implement a Http server on Sparkcore itself. Once compiled into the Web IDE, the server will be available at http://IP-SPARKCORE (port 80 by default) My Github : HTTP server (REST & JSON) on Spark core Google+ Community
Reading time: 2 mins đź•‘
Likes: 5 ❤
Hi, This project implement a Http server on Sparkcore itself (Embedded). Once compiled into the Web IDE, the server will be available at http://IP-SPARKCORE (port 80 by default). RESTFull URL : http://IP-Sparkcore/D0/on|off Digital JSON URL :...
Reading time: 1 mins đź•‘
Likes: 4 ❤
Hello, I’m just starting out with the Spark Core and found myself needing an HTTP Client Library to interact with my REST API. Unfortunately the libraries I found all seemed to rely on the Arduino Ethernet Library which made them unsuitable for the...
Reading time: 16 mins đź•‘
Likes: 44 ❤
Hello Smart People, I am trying to send an HTTP POST to a secure server which uses OAuth token in the request header. However, it looks like my end server is not getting the request. int BTN = D0; int val = LOW; void setup() { pinMode(BTN,...
Reading time: 2 mins đź•‘
Likes: 10 ❤
with using the {} as start and end of data indicator and the following code in spark server.println("HTTP-Version: HTTP/1.0 200 OK"); server.println("Content-Length: 8"); server.println("Content-Type: text/html"); server.print("\r\n");...
Reading time: 1 mins đź•‘
Likes: 2 ❤
Hi SpyDrop, I think I understand what you did (looks really nice), but I am not sure if this works for me. I want to receive a “push notification” whenever a certain event takes place (sensor on spar) and basically log the event and the time in a...
Good luck!
2 Likes