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
3answers
191 views

ESP8266 not responding after random intervals of time

4th Update: I bought an ESP32 (the successor to ESP8266) and am getting the same problem. I used the same code except used the Wifi.h library instead, also removed the ESP8266WiFiGratuitous.h code. I ...
0
votes
3answers
68 views

How to replace String objects with char arrays while still using string methods

I am running the following code on my ESP8266 (AI-Thinker ESP8266MOD). I send an HTTP GET request and a pin is set to high for a 1/2 second. However, after some time (sometimes 1hr, 2hrs, 12hrs, ...
0
votes
0answers
33 views

HTTP get with ESP8266 via a SoftwareSerial port

I've Arduino UNO and ESP8266 connected via a SoftwareSerial. Arduino UNO communicates with ESP8266 by sending AT commands. And I need to write a function to fetch HTTP responses and return a response ...
0
votes
1answer
25 views

Securing ESP8266 connections

In my setup, I've got a number of ESP8266 devices around my home controlling various devices like my boiler and some lights. They're all controlled by a central smart hub on a Raspberry Pi with a ...
0
votes
1answer
34 views

Arduino Nano IoT 33 Char Array size constraints

I would like to save data that I am receiving from API calls in a char array. The problem is the data is around 80KB however my Arduino IoT 33 has 32KB of memory. It will save data in a char array ...
0
votes
1answer
149 views

HTTP POST from Arduino/ESP8266/ESP32 How to send parameters (x-www-form-urlencoded)

EDIT: Thank you for the answer, also we had figured out how to do it Micropython too - I believe that it is relevant for the Arduino/ESP8266/ESP32 community to share this too. https://github.com/...
0
votes
1answer
49 views

Sending Variable to IFTTT via ESP32 using Asynchronous Web Server

I have been trying to send three variables to IFTTT from my ESP32 using Asynchronous Web Server. However, I couldn't set the "URL" that was supposed to be the response that will trigger my IFTTT. Here'...
0
votes
0answers
41 views

Parsing Data from local websever

i´m trying to build a little monitor of an ESP8266 and an OLED display that displayes the Status of a Robotarm. The robotarm is controled by a RAMPSboard that has a webserver, so i can check the ...
0
votes
1answer
25 views

random soft wdt reset while request

i am making post requests with esp8266 on nodeMCU. i have a messy code so i dont want to annoy you with showing it here. the problem is i get soft wdt reset time to time while making request. for ...
0
votes
1answer
148 views

AsyncWebServer giving wdt reset

I am using 3 Esp32 modules. One being master and other two being nodes. Nodes are connecting to the master's AP. Master is connected with GSM module to execute the web api. Master esp is having a ...
0
votes
1answer
29 views

Arduino HTTP Command - ESPEasy

I am new to Arduino and although I am starting with and creating some basic projects my end goal right now is to be able to turn my Sonoff on and off via a momentary switch attached to my Wifi enabled ...
0
votes
1answer
23 views

Http request in interrupt esp8266 not working

So i have this code that whenever i click a button a interrupt starts. In this interrupt i want to do a get request to a webserver. The thing is seperate the code, the interrupt code works and ...
0
votes
1answer
183 views

Arduino Firebase connection refused error

I am making a project for school where I have to send data from a sensor to a webpage. After doing some research I decided to use a Real-Time Firebase database. Security is not really important and I ...
0
votes
0answers
37 views

Send large files to API via HTTP

I am making a stream-based radio clock that needs to send snippets of the stream to an external API for music recognition using an ESP-WROOM-32 DevKit. The snippets that I record are 15 seconds long, ...
0
votes
0answers
41 views

Arduino pro mini and SIM800L problem with GPRS

I'm trying to create a datalogger that sends data to a server at a certain time. I use SIM800L and Arduino pro mini. Wiring: SIM800L Arduino mini pro RST 7 TX 8 RX 9 ...
0
votes
0answers
16 views

Wifi communication between ESP8266 (s) and ESP32: know if the client is alive (possibly without errors …) [duplicate]

I state that I am an amateur beginner and this is the first time I ask a question in a forum, so any criticism, judgment or advice is a pleasure for me! I am trying to build an automatic irrigation ...
0
votes
1answer
54 views

esp8266 cant make more than one request at time

i am trying to make a get request, read that request and make another request with that read value. i havent shown it in this code but i want to make a request inside in a request. is it possible to ...
0
votes
0answers
50 views

How to get the body of an HTTP request?

I want to read a binary body datas from an HTTP POST request. The context is that I'm making a LED strip controller and I'm currently using this code : #include <WebServer.h> #include <...
0
votes
1answer
110 views

I can't use buffer without printing in my Nodemcu esp8266

#include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <WiFiClientSecureBearSSL.h> #define WIFI_SSID "ssid" #define WIFI_PASSWORD "password" void setup() { Serial....
0
votes
0answers
120 views

Arduino uno wifi rev2 get status code from server data

I'm having trouble figuring out how I can extract data from my server call. I am trying to check whether the code that was entered in a boxlock matches the code stored in our database. If the code ...
0
votes
0answers
103 views

Arduino uno wifi rev2 get json data from api

I'm not so familiar with Arduino UNO wifi rev2. I bought it for a project that I am working on. In general, I have a box that you can open with a code. The Arduino should make a call to the API and ...
0
votes
0answers
366 views

ESP32 CAM sending a file via POST method

I'm using HTTPClient.h for sending the image file that taken by ESP32-cam, but it sends just headers. the important part of code : File fsUploadFile2 = SPIFFS.open("/picture.jgp", "r"); ...
0
votes
1answer
46 views

Sim900a AT+HTTPREAD does not get fully answer

changed the firmware on SIM900B try to send get request http://dummy.restapiexample.com/api/v1/employee/1 AT+HTTPACTION=0returned +HTTPACTION:0,200,98 but, when I try to read (AT+HTTPREAD or AT+...
0
votes
0answers
36 views

SIM900 can't attach GPRS

I have a SIMCom SIM900 GPRS Shield that works with an Arduino UNO R3. I am finding problems when I try to perform an HTTP POST request. I started guessing it was a problem with the GPRS because the ...
0
votes
0answers
592 views

How to send JSON on a http POST request using an ESP8266?

I'm working on a project aimed on sending alerts via SMS. I signed up for a SMS service that works via HTTP requests (REST standard). I need, then, to send data as JSON, so that their server processes ...
-1
votes
1answer
54 views

How do I send Sensor Data from one Arduino to another Arduino that is a Webserver to post it?

I have been looking for over 2 hours now and just cant get it figured out. Im very confused as to how to do this. The solution I thought I found was to use HTTP POST. But I just cant get it to work. ...
0
votes
0answers
120 views

Arduino Uno + Sim808 GPS dont work with GSM

I am trying to get GPS data and pass it through GSM (Http Get Request). The GPS codes part works fine alone, also HTTPRequest part lonely. But when i use them together , the module don't get GPS data ...
-1
votes
1answer
61 views

Http request change delay

i'm noob in coding i try to make some led blink ( with succes ) and now i would like to add http request to change delay. i have no error compiling the code but it dont work any idea ? Thanks ...
0
votes
1answer
62 views

Why doesn't data return when I use Sim808 http request

Why is it that when i use this code for http request on DFRobot_sim808 , I get 'fetch over' message, that means that no data is being returned? char strings: char http_cmd[] = " HTTP/1.0\r\n" ...
0
votes
0answers
41 views

Problem in fetching http get request after put float number

I have this codes that works correctly! #include <DFRobot_sim808.h> #include <SoftwareSerial.h> #define PIN_TX 7 #define PIN_RX 8 SoftwareSerial mySerial(PIN_TX,PIN_RX); ...
0
votes
1answer
77 views

Sim808 module HTTP Bad request

I have an Arduino UNO and sim808 EVB-V3.02.4. I want to send a GET request to my url but I always receive 400 Http bad request error. #include <DFRobot_sim808.h> #include <SoftwareSerial.h&...
0
votes
0answers
76 views

Arduino Mega failing to connect to XAMPP database/php server to send HTTP requests

I have developed an application with a SunFounder Mega2560 with a W5100 Ethernet shield that acts as a server and successfully parses TCP message packets from a client sending in updates. I am now ...
0
votes
0answers
90 views

Send ECG data using buffer in real time to the server without using delay

I am trying to make a ECG monitoring system using Arduino, GSM and ECG sensor which data should be sent to the private server in real time. Those data are then collected via Matlab on the remote ...
0
votes
3answers
252 views

SIM800L HTTP request is not reliable

I have a question regarding SIM800L and HTTP GET request. I'm using this https://exploreembedded.com/wiki/Setting_up_GPRS_with_SIM800L simple code to communicate with SIM800l with AT commands. To ...
1
vote
0answers
453 views

Parsing the data from an HTTP POST request on a ESP8266 / wemos

I'm sending an HTTP Post request on my Android App to my Wemos D1 mini pro and want to parse the incoming data (which is a json). My current code just prints out the whole POST request and I need to ...
0
votes
0answers
231 views

Send HTTP request from Arduino UNO+ESP8266

I am trying to send an HTTP request from from an Arduino UNO through an ESP-01 connected by Serial. Communication with the ESP and connection to the AP work fine. But when i try to send an HTTP ...
0
votes
0answers
35 views

HTTP request is not being executed in Arduino script for sending sensor data to Thingspeak cloud

I am trying to send the data from DHT sensor (temperature and humidity on 2 channels of Thingspeak cloud server) and firstly display them on Thingspeak cloud. Afterwards I will need to get those data ...
1
vote
1answer
175 views

Arduino HTTP Request Fails Slow Cellular Connection

Setup: Arduino Mega 2560 w/ Wiznet W5500 Ethernet Sheild Using TP-Link TL-MR6400 LTE router to connect to internet over cellular connection in Uganda. Using an HTTP Post with the following, ...
0
votes
0answers
46 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
49 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
1answer
155 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
87 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
438 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
149 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
37 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
233 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
122 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
153 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
160 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
171 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 ...