Questions tagged [web-service]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
51 views

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 ...
1
vote
1answer
84 views

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 ...
1
vote
1answer
22 views

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 ...
2
votes
1answer
74 views

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 ...
1
vote
1answer
59 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
91 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 ...
0
votes
2answers
182 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
643 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
14k 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
vote
1answer
252 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. ...
0
votes
1answer
824 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
546 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
856 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 ...
1
vote
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
730 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 [closed]

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
292 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
623 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
787 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 ...