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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

POST DATA SERVER ARDUINO FUZZY LOGIC [duplicate]

Can somebody help me , when i run this code separately , no problem was found , but when i fuse it together , only fuzzy work and the data can't be sent to my server, sorry for my bad english i ...
0
votes
1answer
36 views

Is there a simple HTTP(S) library that doesn't rely on WiFi?

I'm trying to implement a Mobile Network (only) for the ESP32 using Arduino IDE. So to be able to connect to website up/download files etc. I need to be able to handle various HTTP PUT/GET/POST ...
0
votes
0answers
16 views

Mkr1010 disconnects and reconnects normally until it reaches a point where it never reconnects again

The board does reconnect from time to time, but there are times where it just disconnects and never reconnects again and I can't replicate the error because while I run it with Serial open and turn ON ...
0
votes
1answer
14 views

Can we call GPRS HTTP request asynchronously in Arduino?

Usually GPRS modules (SIM800,900, A6, etc) that used with arduino are called in synchronous way in HTTP (GET/POST) request. It takes more than 10 seconds in most times and this makes the system very ...
0
votes
0answers
33 views

how can i send get and post request from esp01 using arduino uno

I am using an esp8266 01 module with the Arduino Uno to establish a communication between the Arduino and my web site. I actually don't know how to send Rest HTTP requests from the Arduino to get data ...
1
vote
1answer
45 views

PUT request: PHP code to Arduino HTTPClient

I'm uploading a file to Azure blob storage using REST API request. The file uploaded successfully using PHP curl request. But when I transfer the code into ESP32 HTTP client I'm getting an ...
0
votes
0answers
26 views

Error with AT+CIPSEND in ES8266 with arduino

I'm making simple web-server on esp8266 module connected to Arduino. And when +IPD,0,GET... I'm sending AT+CIPSEND=0,16. Then I write HELLOMYDEARFRIDE. It says : send 16 bytes recived. OK. But in ...
0
votes
1answer
67 views

Is it possible to do an OTA update using a GitHub link

I need to be able to download software updates through the internet without having my MKR1000 plugged in. Either that or have new code being pushed from my server (C++) to my MKR1000, and then ...
0
votes
0answers
56 views

ESP8266 webserver does not return latest HTTP response

I tried getting a HTTP response from an ESP8266 which is in HTTP server mode, I am getting a response but not the latest one, response is always one command previous to that of my request to the ESP. ...
0
votes
0answers
41 views

HTTP and HTTPS server at the same time

I'm trying to set up a HTTP and HTTPS server at the same time on an ESP8266 NodeMCU V3. The compiler however doesn't accept any other name than client otherwise no new clients will be catched. But ...
0
votes
1answer
24 views

ESP8266 official library post request returns 400

Every time I try the post request I get a 400 error but the JSON and URL are identical to those that I used on an online API tester and it worked every time there. I am running this program in the ...
0
votes
0answers
30 views

ESP8266 reboots instead of completing HTTPUpdateServer update

I should first note that I have made some minor changes to the base code that is used by that library, instead using it as a reference. Basically, turning off unwanted actions during the update and ...
0
votes
1answer
69 views

creating HTTP persistent connection, to create 'smooth' data over GSM sending

Project goals Send data over GSM to firebase Fast sampling - need to send 16 bytes every half second to firebase Send data using GET or POST to server with PHP script, that redirect data to firebase ...
2
votes
0answers
51 views

Cannot POST to server. HTTP code -1. NodeMCU

I am trying to make a POST request with NodeMCU, but I get a HTTP status code -1. Code: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #ifndef STASSID #define STASSID "Wifi" #...
0
votes
1answer
62 views

How to compose an HTTP GET request URL with key/value parameters

I am experimenting with some code running on an ESP8266 board to retrieve data using a web API. I would like to store the host address and key/value parameters (API key etc.) of the GET request as ...
1
vote
1answer
19 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
0answers
31 views

ESP8266 http.get() issue due to wifi authentication failure

Facing a weird issue while reading data from esp8266. I am trying to read dynamic data from a demo text file on test server on same network in deep sleep mode. Case1: Joining new network I am using ...
0
votes
0answers
28 views

Arduino - Communication with the device

What is the best way for communication with device and webserver, for example I have Arduino device (connected to Wifi) with LED strip and I want to controle it from Website? Is it good way to make ...
0
votes
0answers
24 views

RS256 JWT with Arduino

I am working on a project where I am implementing JSON web tokens to validate devices on a server. I have been unable to find many resources related to RS256 JWT with Arduino or similar devices. ...
0
votes
1answer
92 views

ESP8266 HTTPS post body request with WifiClientSecure

Is there a way to post HTTPS body request in Arduino esp8266. I am able to HTTPS parameter request with WifiClientSecure library,but is not safe compared to Request Body send in POST.
1
vote
0answers
133 views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
0
votes
0answers
30 views

Setting up WiFi on NodeMCU with wrong password drops ESP8266WebServer connection [duplicate]

I am trying to build a simple demo with NodeMCU module: NodeMCU opens AP and sets up web server Client connects to this AP, sends payload to web server to setup WiFI on the module and receives ...
0
votes
0answers
128 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
438 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
58 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
40 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
25 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
132 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
2answers
154 views

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
189 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
135 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
176 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
113 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
882 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
780 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
299 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: ...
1
vote
1answer
700 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
333 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
146 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
241 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
330 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
376 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
490 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
314 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
480 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
405 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
108 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
85 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
235 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
1answer
1k 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); ...