Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
29 views

ThingSpeak writing multi fields returns HTTP error code with -301 or -302

I am using arduino and ethernet shield with ThingSpeak library to write multi fields. this sample code from docs. it is working good with 4 fields but if I want to write 8 fields in a same time such ...
0
votes
2answers
86 views

Parse a large json response with ESP8266

I'm doing a project where my Arduino uses an external ESP8266 wifi module (with AT firmware) to send http requests and receive server response. I'm trying to get an NBA scoreboard, and here's what my ...
0
votes
0answers
36 views

Arduino ESP8266 ESP-01S GET command

Looking for some help on this please. It is a little long winded, but the point of it is I cannot retrieve a string response via my ESP8266 ESP-01S. I connect my ESP to my Ardiuno using ...
1
vote
1answer
27 views

Connecting NodeMCU through internet [closed]

I have a NodeMCU and a website (free website domain provided by http://www.hpage.com) and I have to send and receive some data (suppose a 8bit number) from the website to the NodeMCU via internet. The ...
0
votes
0answers
24 views

Not able to receive string from database

A few days ago I posted a thread as I was not being able to send data to my database online. It worked when I changed the GPS module. Now I am trying to retrieve data from the same Server and i'm not ...
0
votes
0answers
27 views

ESP8266 Server does not serve CSS file

It is the first time I try do this. I configured HTML file and it was served. I want to give style to my HTML form with internal or external CSS, but I can't. However, I used different tutorials I ...
0
votes
0answers
68 views

[SOLVED]Arduino SIM5320e HTTP GET request to 000webhost.com

Im having trouble getting a successful HTTP GET request to a domain under 000webhost.com I am trying to do a GET request which sends data to a php file on my domain and save it to MySQL database. I ...
0
votes
0answers
58 views

HTTP PUT method on NodeMCU/ESP8266

I've been trying to send a put request from my esp8266 for a while not but I can't figure out why it doesn't work and there are barely any posts about put requests online I keep getting errors around ...
0
votes
1answer
47 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
71 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
51 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 ...
-1
votes
1answer
140 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.
0
votes
1answer
291 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
157 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
302 views

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

I am HTTP posting a data to this web API https://morning-cliffs-85779.herokuapp.com/api/users from an Arduino connected to esp8226. I am using the wifiesp library to HTTP_POST data. The REST APIs are ...
0
votes
1answer
188 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
83 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
172 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
156 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
253 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
346 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
231 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
229 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
259 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
66 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
83 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
192 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
16 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
533 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
358 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
288 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
434 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
199 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
64 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
130 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
118 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
163 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
152 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
715 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
28 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
3k 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
343 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
8k 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
2k 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
126 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
370 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
977 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
424 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
4k 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 ...