Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http]

Hypertext Transfer Protocol (HTTP) is an application level network protocol that is used for the transfer of content on the World Wide Web.

0
votes
1answer
16 views

How to handle concurrent HTTP request when using interrupt

I'm trying to make a door sensor with a reed switch. Each time the there is a change, the ESP8266 sends an HTTP request to web service. Unfortunately, the ESP8266 serial monitor dumps a huge stack ...
0
votes
1answer
27 views

error 404 in HTTP GET request with Arduino Uno and ESP8266 using AT commands

when I try to send http get request I get error 404 AT+CIPMTX=1 OK AT+CIPSTART=4,"TCP","alirezaabrhshami.ir",80 4,CONNECT OK AT⸮⸮R5U9⸮⸮b⸮⸮j OK > Recv 47 qytes SEND OK +IPD,4,223;HTTP/1.1 404 Not ...
0
votes
1answer
35 views

Can't extract basic data using ThingspeakHTTP

I don't know anything about HTML, but I want to extract the % probability of the Northern lights being visible from this webpage http://aurorawatch.ca/. I entered this into the URL field, and selected ...
0
votes
0answers
40 views

DNS Fail error in ESP8266

I am trying to connect to server using at commands: AT+CIPSTART="TCP","newsapi.org",80 ESP8266 response: DNS Fail ERROR
-1
votes
1answer
50 views

HTTP get request using Arduino Uno and ESP8266

I have an Arduino Uno and an ESP8266 and I want to send a HTTP get request to google.com and print the response. Please help me thanks.
-1
votes
0answers
67 views

Arduino Mega2560 + Sim808 + GPS + TCP HTTP GET

I'm trying to get some GPS data and temperature and send it over an HTTP GET request to a webserver (yeah I know, sending data over GET... no POST, it's boring). GPS is working, but TCP is not. ...
-1
votes
0answers
55 views

Post to request using ESP32

I am using the ESP 32 to send parameters VIA POST to website, I am using this code: timeA=millis(); USE_SERIAL.println(timeA - timeB); strTotURL=strBaseUrl+strPage; strTotURL.replace(" ", ""); //...
0
votes
1answer
82 views

Faster way to parse a HTTP response in Arduino

I send a GET http request to a server and get following data back. HTTP/1.1 200 Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 16 Nov 2018 16:30:05 GMT Connection:...
1
vote
1answer
73 views

How to build a valid HTTP Response. Recv failure: Connection reset by peer

I'm developing an Arduino server that should respond with a message when it receives a POST Request. If I test my project with a HTTP Client (like insomnia or postman), I get an error: Error: ...
0
votes
1answer
63 views

How to HTTP post a data to Node express API from a Arduino esp8226?

I am HTTP Posting a data to web api https://morning-cliffs-85779.herokuapp.com/api/users from a arduino connected to esp8226. I am using wifiesp library to HTTP_POST a data. The REST apis are hosted ...
0
votes
1answer
94 views

ESP8266 upload data to google cloud platform

I am trying to upload information to my appspot created with Google App Engine. I am able to do it when I in my browser type: http://myname.appspot.com/query?city=Copenhagen&temp=20&id=website ...
1
vote
0answers
60 views

HTTP GET fails from ESP8266 to Emoncms

I've tried the code with emoncms.org as well and the results are identical; one parameter posts fine, but when I include the second parameter in the JSON I get HTTP 400 Bad Request from nginx and I'm ...
1
vote
1answer
119 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
0
votes
1answer
71 views

HTTP post via GPRS (SIM808) to Azure http endpoint logic app is failing

I am using a SIM808 with a atmega2560. I have setup the endpoint in Azure and that works when I try a http post via postman and/or an online http post tool (I get a 202 as result and see data comming ...
0
votes
1answer
145 views

How to configure TinySine 3G module (SIM5320E) for HTTP GET request

I recently bought a 'TinySine 3G shield (SIM5320E) 900/2100Mhz' based on Adafruit_FONA libraries to use with Arduino Mega 2560 R3. It successfully registered with Vodafone AU. Other functionality ...
0
votes
1answer
262 views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
0
votes
2answers
181 views

ESP8266HTTPClient conflict with other libraries?

I can successfully send a GET request with the ESP8266HTTPClient library in the first sketch. However the exactly same code won't work when used in the second sketch, which is more complex and uses ...
0
votes
1answer
117 views

ESP8266 GET request code -1

I've read several other posts but I still couldn't solve the issue. I'm trying to connect to a website which is HTTP (not HTTPS) but I always get code -1 as response. If I open the link in the browser ...
0
votes
1answer
180 views

POST request on Arduino MKR1400 GSM not working

Im trying to send a POST request from the Arduino MKR1400 GSM board to a server with a database. I've tested the server using Postman (https://www.getpostman.com/) and it handles the POST request ...
0
votes
1answer
40 views

Posting TinyGPS++ co-ordinates as paramaters with GPRS

I'm able to view my co-ords on the Serial Monitor using Serial.println(gps.location.lat(), 6); I believe the data type returned by gps.location.lat() is double. I need to pass this value to a ...
3
votes
1answer
82 views

Correct way of having loop end when required?

I'm brand new to Arduinos. I'm currently trying to modify a script from here which at the moment, simply turns an LED on or off depending on which HTTP GET request it receives. However, I want to ...
0
votes
1answer
150 views

Replying with a html page in HTTP Web Server using esp01 and ArduinoIDE

Now there are many ways to reply with a webpage content to a user who is accessing the web server, But Keeping in mind to use as less space as possible, I was trying something new, Since i didnt got ...
0
votes
0answers
14 views

Node Mcu DHT11 Update set temprature

I am using Node mcu with DHT11 . I could able to display temperature & humidity on local web server.I want parameter set temp it can be changed from local web sever. Now i could able to create ...
0
votes
1answer
285 views

ESP8266 Bad request error 400

#include <ESP8266WiFi.h> const char* ssid = "Tonosh"; const char* password = "a43056043"; const char* host = "192.168.8.107"; void setup() { Serial.begin(115200); delay(10); ...
1
vote
0answers
298 views

Exporting an html for esp8266

EDIT: Added "web page source" ("In the end", :D ) (Please, sorry if this question isn't in the right place, feel free to move it to that place) Here I have a problem: In my house I have a self-...
0
votes
1answer
230 views

Response from ESP8266 is returning unknown characters

I'm working on a project with Arduino UNO that needs connection with a cloud server, that is why I'm using ESP8266 module. I'm already connecting to wi-fi and making GET and POST request but my ...
0
votes
1answer
322 views

Arduino HTTPClient passing string to variable

For some reason I can't seem to pass a simple string from one variable to another. Below is my code: HTTPClient http; // Declare an object of class HTTPClient http.begin(address); // Specify ...
-1
votes
1answer
141 views

Arduino SocketIO library not working over HTTPS

I am currently using this Socket.io library to be able to send data from the Adafruit Feather HUZZAH (based on ESP8266) to my NodeJS server. It works like a charm on my local webserver, never failing ...
1
vote
1answer
58 views

Arduino Uno with Adafruit CC3000

I am using Arduino Uno with Adafruit CC3000 wifi shield to connect to the internet and get data for Arduino. Everything works fine but I can't figure out how to use HttpClient library. The code is: #...
0
votes
1answer
97 views

Error to make a request using Arduino Uno and ESP8266

I'm using Arduino Uno and ESP8266 in a project. I'm using AT Commands to connect to wi-fi and make a request. I'm using the monitor serial to test the code before compile it in arduino. It is ...
0
votes
1answer
94 views

Android phone can't get ESP8266WebServer page if Content-Length > 1460

I uploaded the following sketch to my ESP8266: #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> ESP8266WebServer server(80); String toServe; void serveShortString() { server....
0
votes
1answer
93 views

How to protect link/url form ESP-12E for controlling LED

I am using ESP8266 ESP-12E NodeMCU for controlling LEDs and Relay. When ESP-12e power on it connect into my home wifi network and it gives IP address such as 192.168.0.104, and by that I can control ...
0
votes
0answers
134 views

HTTP GET request only works sometimes

I am sending a HTTP GET request to a server I deployed on digital ocean (Ubuntu/Node.js). On the web browser when I go to my URL 'http://Server_Ip_Address/event/astarttime' or 'http://...
1
vote
0answers
600 views

Sending data from webserver to Arduino

Hello Arduino enthusiasts! I've been working on a keypad lock system for school lately and I need some advice.Basically, my code checks if the entered passcode is the same than a predefined passcode ...
1
vote
0answers
27 views

Serve currently uploaded code from Arduino

I'm creating a project where multiple ESP8266 12-E's are connected together. I want to use ArduinoOTA with the HTTP option (described here) and I want to have one ESP be able to send its code to ...
1
vote
1answer
2k views

Parsing HTTP get response to extract values

Basically I created a web page to control 4 channel relay, then I made an HTTP get request from that page and got the following response: Linked T+CIPSEND=4,50 > GET /ard/sensor.html HTTP/1.1 ...
0
votes
0answers
280 views

Follow redirect of a captive portal with NodeMCU 0.9

What am I doing? Trying to connect to a free wifi with a Nodemcu 0.9. What I have already done? Connecting and loading a test page in order to be redirected to the login page Connection code: ...
0
votes
2answers
5k views

How to post HTTP POST requests on my website?

I am working on a NodeMCU board to post sensor data on my website service. Basically my project is about POST and GET requests both in single code. I am succeeding in sending GET requests from my ...
0
votes
1answer
1k views

Reading data from ThingSpeak via Arduino Uno+ESP8266

I am integrating thingspeak and arduino plus Esp8266 mean making a simple project which contain my android app to update the thingspeak channel and then want to read the data of that channel via ...
1
vote
0answers
108 views

ESP8266 exception if sending TLS-POST-request for a couple of iterations

Problem I send sensor measurements from an Arduino to -> AWS APIGateway -> Lambda -> CloudWatch, which works but only for a couple of minutes, then a stack-trace is shown and the program stops. ...
0
votes
0answers
272 views

Nodemcu and Https Connection

I am working on a project in which I need to send some data to the firebase cloud functions. Here is my code: #include <ESP8266WiFi.h> #include <WiFiClientSecure.h> const char* ssid = "*...
-1
votes
1answer
736 views

Esp8266 and HttpClient not working properly

I am working on a project to send data to an API. Here is my code #include <ESP8266WiFi.h> #include <ESP8266WiFiMulti.h> #include <ESP8266HTTPClient.h> #define USE_SERIAL Serial ...
0
votes
1answer
363 views

“Bad request” error (HTTP) while posting to PHP server using Arduino and ESP8266

I'm doing an IoT project where the temperature and humidity values from a DHT11 sensor is sent to a PHP server using HTTP post. When I run the Arduino, the Serial Monitor says "Bad request". The ...
0
votes
0answers
3k views

ESP32 WiFi Server - Receive POST Request

The SimpleWiFiServer example provided by the official ESP32 libraries shows how to receive and handle GET requests from an outside client in a quick and dirty way. Here's a similar question which ...
0
votes
1answer
1k views

Arduino HTTP Post request

I have a Arduino Mega with Wiznet 5100 Ethernet shield. Am trying to post some data onto localhost for started later on which will be accepted by a website. But when I try to post the data I get some ...
2
votes
1answer
2k views

How to post JSON data from Arduino?

I want to post data that I'm getting from the sensor every 5 seconds to my application in JSON format. Initially, I'm getting data as int and converting into String. For example: if data=15, it is ...
0
votes
0answers
104 views

Parse JSON data from String [duplicate]

I'm getting JSON data using HTTP methods in Arduino and storing in String Object. The data is: { "item": { "Identity": { "Id": "327681", "ItemId": "64006A962B71A1E7B3A0428637DA997C....
1
vote
0answers
911 views

Convert String data To char Array in Arduino

I'm able to get json data and storing in String object, now i want to convert string into Char Array for parsing json data I'm tried with this code, but it is not responding String data = http....
0
votes
0answers
160 views

Receiving incomplete HTTP request

I have an Arduino project that needs to receive data from ThingSpeak. This is the data that I'm supposed to get. When the data is "true" it must turn the LED on. I tried this code in hope of getting "...
1
vote
1answer
2k views

HTTPS with ESP8266WebServer?

I see many ESP8266HTTPClient examples, pasting in a fingerprint from an outside website, but I want to host an html page from the ESP8266 in AP mode using HTTPS. Judging by the lack of examples, and ...