Questions tagged [web-service]
The web-service tag has no usage guidance.
26
questions
0
votes
0answers
31 views
How do you concatinate an interger with a string in server.send data?
I have a class I am trying to add its global counting variable value to
int switch0;
class
void webpage() {
server.send(
200,
"text/html",
"<html> \
<...
0
votes
1answer
41 views
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 ...
1
vote
1answer
76 views
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 ...
1
vote
2answers
161 views
Parse UNIX-time from char[]
I want to parse a large number to sync time on my arduino. For this i send it a string with the current time in Unix time format wich looks somethink like this:
1535441277
For this I just call a ...
0
votes
1answer
629 views
Posting data to ASP web service from GSM using AT commands - where am I going wrong
I'm using an Arduino uno with a SIM900 GSM shield. I'm trying to connect the Arduino to my (ASP MVC) website. I've written an API which i've successfully tested with postman, and whilst the GET ...
2
votes
2answers
13k views
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 ...
-1
votes
1answer
1k views
How to get the server response when I post to a web api [closed]
I have an arduino which is using a TCPClient to post JSON messages to a web api. First, I have pasted the code below to see if people have general comments about the method I am using to do so. I am ...
1
vote
1answer
226 views
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. ...
-3
votes
1answer
452 views
Arduino sim900a GPRS POST method asp.net [closed]
Post method is run perfect using postman.
error while post the data on server using arduino sim900a module gprs.
Arduino code
mySerial.println("AT+CGATT?");
delay(100);
ShowSerialData();
...
0
votes
1answer
797 views
Arduino connection websocket always fails
I am using the Arduino Websocket Client library to connect my Arduino Uno to a Socket.IO server. But the connection always returns 0 (fail) after the handshake.
Anyone has used this library before? ...
0
votes
2answers
4k views
Reading values from SQL Arduino ethernet
I'm about to do this project where I will make some lights flash up depending on some values that are in an SQL database on a server. I have already bought my Arduino and waiting for it to arrive. But ...
1
vote
1answer
539 views
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 ...
2
votes
1answer
723 views
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 ...
0
votes
1answer
1k views
Send data using Arduino GSM shield GET/POST/PUT?
I am trying to modifiy the Arduino GSM library Xively example to geeknesia.com. The serial said "successconnecting.." but I didn't get any value change in the website. Did I make a mistake with this ...
1
vote
1answer
720 views
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 ...
4
votes
0answers
2k views
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 ...
0
votes
3answers
4k views
Send commands to Arduino from the WEB
I need to send Arduino some instructions from the web. Basically I would have a web app with a few buttons, and when I press them they send an instruction to Arduino to move for example a motor or ...
1
vote
2answers
288 views
How to setup Uno + xbee shield 1.1 + wee wifi chip?
I am an absolute beginner with electronics and Arduino.
I have this hardware:
arduino uno
xbee shield 1.1
wee wifi chip
I've tried to make them work (to connect my Uno to the Internet) but I can't ...
1
vote
1answer
1k views
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 ...
0
votes
1answer
362 views
Cannot send two arguments from a WebClient
I am using the Arduino WifiWebClient to insert records into a RoR (Ruby on Rails) app. It works but it only inserts one field regardless of the number of arguments I send.
For example, if I test ...
0
votes
1answer
1k views
Webservice C# JSON to Arduino
I have a project in Microsoft Visual Studio C# and I have to pass JSON data to my Arduino via Ehternet Shield.
This is how it works:
Is it possible? How to do it?
0
votes
2answers
3k views
Arduino Yun Webpage Server Issues
So, I've made a sketch on my Yun, which I would like to be able to take information from a webpage (like a button) and have the Arduino Microcontroller perform functions based on what button is being ...
2
votes
0answers
615 views
Arduino + Web Service [closed]
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
...
-1
votes
2answers
2k views
Arduino Mega & WiFi Shield; why web server every time says my A7 pin reads 0V?
I have got Arduino Mega 2560, Arduino WiFi Shield and resistor 1.5K.
Now PWM 2 is attached to the resistor then attached GND. 5V is attached between PWM2 and resistor's up point. I want to read the ...
-4
votes
1answer
761 views
What's the best way to put in a database sensors data's [closed]
I have not already started to try but I'm a good webmaster and I'm just asking which way is more suitable for sending and keeping data from sensors and I/0 state in a database.
Here are some points:
...
13
votes
2answers
32k views
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 ...