We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
108 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 ...
1
vote
2answers
18k 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
0answers
12 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 ...
-2
votes
4answers
4k views

ESP8266 sends webpage to client, but html codes appears in browser instead of webpage?

I am using ESP8266 with Arduino MEGA. ESP8266 is powered 3.3v via voltage divider, which is taking 5v from arduino and converting it down to 3.3v with the help of 5K and 10K resistors. AT commands ...
1
vote
1answer
3k views

Sim800l gsm module cannot connect gprs data

I am a rookie to arduino. I am trying to access MQTT server using Sim800l coreboard GSM module with Adafruit Fona/Tinygsm library but failed.So I decided to check http GET/POST request with AT command ...
0
votes
0answers
28 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 ...
0
votes
1answer
30 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 ...
1
vote
1answer
115 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, ...
-1
votes
1answer
45 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
3answers
31 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 ...
0
votes
1answer
1k views

Unable to communicate between ESP-12E module and mobile through ESP-12E router

I am newbie in Arduino. I'm trying to send data from an ESP-12E client module to a mobile via an ESP router module (I am using Arduino IDE for programming the ESP-12E). For this purpose I ...
0
votes
0answers
39 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 ...
0
votes
1answer
2k 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
218 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.
0
votes
1answer
42 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
27 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
28 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&...
2
votes
0answers
124 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
0answers
37 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
1answer
2k views

How to send Arduino Yún Post Request to localhost?

I've been trying to send data from my Arduino Yun to a local server using XAMPP. My code is shown below. In the serial monitor of the Arduino Yún, it shows connected and prints the data string, but in ...
0
votes
0answers
51 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
2answers
12k views

HTTP post request in JSON Format using SIM900 module

I tried to send HTTP post requests to a server in JSON Format using a SIM900 module. But the code is not posting the data. While posting the data I'm getting the error response while initializing the ...
0
votes
1answer
295 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
29 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
44 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
28 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 ...
0
votes
1answer
26 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
1answer
113 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 ...
0
votes
1answer
41 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
11 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 ...
1
vote
0answers
517 views

Sim900 data logging through Sparkfun

I've been trying to upload data to data. Sparkfun's servers using HTTP commands, but I've hit errors every time I try. This is my code: #include <String.h> void setup() { Serial1.begin(...
0
votes
0answers
43 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 ...
1
vote
0answers
823 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
0
votes
0answers
73 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
73 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
30 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
0answers
61 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
0answers
63 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
1answer
46 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
62 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
2answers
180 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 ...
1
vote
0answers
464 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-...
1
vote
0answers
188 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
0answers
295 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
1answer
533 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
28 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
76 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
30 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
93 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
598 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 ...