2 votes

How do you post json data to HTTPS endpoint from ESP8266MOD?

Thanks to @Majenko I was able to find the right solution. The resolution is here Essentially, a secure WiFiClient needs to be created and used in the HttpClient constructor Paste the HTTPS URL You ...
  • 179
2 votes

How do you post json data to HTTPS endpoint from ESP8266MOD?

You are only making an HTTP request to an HTTPS server. It's not going to work. AFAIK there is no direct support for HTTPS in the ESP8266 libraries, but there is support for SSL, and you can then ...
  • 103k
2 votes

Webservice C# JSON to Arduino

Yes. If you're using an Ethernet Shield, you should be able to run a webserver on the Arduino and simple do an HTTP request from your C# webservice to the Arduino. Check this tutorial on how to ...
  • 161
2 votes

How to setup Uno + xbee shield 1.1 + wee wifi chip?

As far as the Wi-Fi and Uno is concerned, it's not too difficult. You should download its library for Arduino, which is available on Github and then try its example named Wifi Client. In this ...
2 votes
Accepted

Arduino Yun not getting response from Azure API

Found the problem, even though I set azure to accept http requests, it was still redirecting to https which the arduino couldn't handle. I've written a python script to offload the requests to the ...
  • 31
2 votes
Accepted

How do I get an HTTP_POST response?

You have: server.on("/", handleRoot); server.on("/test.svg", drawGraph); server.on("/",HTTP_POST,response); The first call using handleRoot species no particular method, ...
  • 4,359
1 vote

SD seems too slow for SMTP

Try a simpler approach (with some code refactoring) bool TrySend(){ if(client.connect(ServerChar, 25)){ theFile = SD.open("Smtp.txt"); if(theFile){ while(theFile....
1 vote
Accepted

HTTP myphp request error RFID

Your problem is here: client.print(" "); //SPACE BEFORE HTTP/1.1 client.print("HTTP/1.1"); client.print("Host: "); client.println(server); client.println("Host: 192.168.0.14");//eg: 192.168.0....
  • 103k
1 vote
Accepted

Parse UNIX-time from char[]

On 32 bit systems, uint32_t is usually the same as unsigned int and unsigned long. You should be able to parse the number using strtoul(), which is quite standard and returns an unsigned long.
  • 38.5k
1 vote

Posting data to ASP web service from GSM using AT commands - where am I going wrong

+CREG: 1,"002A","0F48" That's the registration status. "1" is "Registered on your 'home' network", "002A" is your LAC (Location Area Code) and "0F48" is the Cell ID (CI).
  • 103k
1 vote

Cannot send two arguments from a WebClient

Solved! Changed the following lines: client.println("Content-Type: multipart/form-data"); client.print("Content-Length: "); client.println(63); client.println(); client.println("sale[itemId]=...
  • 111
1 vote

Post Data To a Web Service From Arduino

Check this from Arduino docs. In the "Post method request" code example just define your JSON as plain text like char jsonData[] = "{name: 'yourName', data: 'yourData'}" for example, and then call ...
  • 131
1 vote
Accepted

Sending JSON message to web api via post. Why does HTTP 1.0 versus 1.1 make a difference?

HTTP/1.1 requires you to provide the host name of the server. And it will keep the connection open for some time unless you explicitly opt out of this. Thus, the equivalent of the basic HTTP/1.0 ...
  • 38.5k
1 vote
Accepted

Arduino connection websocket always fails

With the help of the library developer, I found out that it was a problem on the handshake version. So, I just downgraded my socket.io app from 1.0 to v 0.9.11 and it worked.
1 vote

Reading values from SQL Arduino ethernet

I would make a small http REST API on your SQL server. The Arduino could use the API to get the data. The API can easily be done in php, ruby or whatever.
1 vote

Is there a library to use Amazon IoT services on any Arduino?

You can try the AWS IoT Embedded C SDK, that is for more general devices. Other Arduinos requires a crypto library and a device powerful enough, maybe PI, to support the authentication process... At ...
1 vote
Accepted

HTTP Post not working

Using byte server[] = {XX, XX, XX, XX}; //IP if (client.connect(server,80)) { instead of if (client.connect("mysite.com.br",80)) { worked
  • 131
1 vote

upload real time ultrasonic sensor data to pubnub using arduino and esp8266

The PubNub website has a link to an Arduino library: https://github.com/pubnub/arduino Although it doesn't have specific support for the ESP8266 per se, it does support the Arduino Ethernet Shield, ...
  • 3,108
1 vote

Send commands to Arduino from the WEB

It becomes lots easier if you see the yun as a linux computer with a arduino connected over serial. Then the question becomes: what is the best way to send commands over the internet to a (linux) ...
  • 1,372

Only top scored, non community-wiki answers of a minimum length are eligible