Questions tagged [web-service]
26 questions
15
votes
2 answers
Post Data To a Web Service From Arduino
If you want to submit sensor data such as temperature to a remote server/database somewhere you need to use some kind of call to a web server since it isn't possible to connect directly to a database from the Arduino.
How do you post data to a JSON…
HK1
- 397
- 1
- 4
- 10
4
votes
0 answers
Sending data from Arduino UNO as a SOAP request
I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW status from my Arduino to ESP8266.
My query is:…
jerry_22
- 41
- 3
2
votes
1 answer
How do I get an HTTP_POST response?
I have a function for HTTP_POST responses but it is never called when I post to it. I get the webpage instead.
I call on it with
server.on("/",HTTP_POST,response);
But I only get the url in response.
void setup() {
pinMode(led_pin, OUTPUT);
…
brad
- 201
- 1
- 13
2
votes
2 answers
How do you post json data to HTTPS endpoint from ESP8266MOD?
Board: ESP8266MOD module from AI Thinker.
Using ArduinoHttpClient I am unable to send a post message to an Azure IOT Hub endpoint. The endpoint is listening on 443 and expects a shared key passed via a custom header.
The error I get is "Connection…
rams
- 179
- 1
- 1
- 5
2
votes
0 answers
Arduino + Web Service
I am doing my CBT, and i need help...
I need a Webservice in C#, and it will send commands to my Arduino( Mega 2560 + Ehternet Shield )...
My Webservice will recibe commands from Android and Web
EDIT
I wanna know what kind of C# WebService…
Lugarini
- 147
- 2
- 7
2
votes
1 answer
HTTP Post not working
I am wanting to POST some data from Arduino to WebService (written in .NET), intending to save some temperature data to MS SQL Server.
My code in arduino is:
void PostarDados(String dados, String chamador) {
if (client.connect("mysite.com.br",80))…
Nizam
- 131
- 5
1
vote
1 answer
Why when I try to connect my ESP8266 to my node sever in my localhost it keep getting disconnect and connect?
I think the issue is within the library because I have try to implement this code according to the tutorial that I found in YouTube Youtube. The discussion of this tutorial is the first they implement the node js server for listening to specific…
Ly Bunvath
- 11
- 1
1
vote
1 answer
HTTPS GET request working on esp32 but not on esp8266
I'm trying to port my esp32 program to esp8266, and i've come across a problem where i can't get a response from a HTTPS GET request on esp8266, but on my esp32 the same code works fine.
The function i'm using looks like this:
void GetHTTP()
{
if…
Boyfinn
- 245
- 3
- 11
1
vote
1 answer
Arduino Yun not getting response from Azure API
I posted this on StackOverflow but figured I'd post it here too. Sorry in advance if thats not allowed.
I'm trying to get my Arduino Yun to talk to an API that I'm hosting on Azure. I would like to do more complex things in the future, but at the…
Aevo 55
- 31
- 3
1
vote
1 answer
SD seems too slow for SMTP
I have asked this question on the arduino forum as well.
I have used SMTP before using client.print (and client.println) but I am now trying to move as much text as I can from RAM to SD (and so I need the library). It does not work and I am…
elscan
- 11
- 2
1
vote
1 answer
How to send Json to a webservice from pc/RPI with live data from Arduino(serial)
I'm making a project where my plan is to take sensor input from the Arduino, and then pass that info (by serial/usb connection) through either a laptop or a Raspberry Pi and convert it to Json and send it to a webservice in asp.net c#, where it gets…
Djensen
- 113
- 6
1
vote
1 answer
HTTP myphp request error RFID
This program is a program which readings of rfid are saved to myphp database. I have a problem when running the code The wifi is connected but when the code doesn't save im assuming that the problem is in this part of the code client.print("GET…
wen02
- 13
- 3
1
vote
1 answer
Sending JSON message to web api via post. Why does HTTP 1.0 versus 1.1 make a difference?
I am sending a message to a web api call every xx seconds. I could not get it to work at all until I changed the header from HTTP 1.1 which is what I was using to HTTP 1.0. Then, it started working. Why would this affect things where I could not…
Michael Bedford
- 127
- 1
- 6
1
vote
1 answer
Is there a library to use Amazon IoT services on any Arduino?
I started to work with AWS IoT today, which offers a MQTT based connection to their web service. They officially only have a demo for the Arduino Yún, which is rather expensive. Has someone managed to get it running (e.g. with a NodeMCU with a…
FooTheBar
- 192
- 1
- 1
- 7
1
vote
1 answer
upload real time ultrasonic sensor data to pubnub using arduino and esp8266
I want to upload the real time data of ultrasonic sensor attached to my Arduino Uno and I have been using esp8266 module for the WiFi connection.
I want to upload to PubNub but I don't know how to start writing the code for PubNub and where do I…
Maryam
- 29
- 1
- 1
- 5