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.
185 questions
1
vote
1
answer
290
views
Is there a way to enable HTTPS directly on an Arduino UNO R4 Wi-Fi?
I am working on a project where I have set up an Arduino UNO R4 Wi-Fi as a web server. However, I would like to secure the communication by using HTTPS instead of HTTP for accessing the Arduino web ...
0
votes
1
answer
399
views
Why are my ESP8266 HTTP firmware updates failing?
I've just spent a few hours on this and I am starting to go crazy. I have code to do a firmware update over HTTP working on several ESP32s. I'm trying to adapt that code to work on an ESP8266, but can'...
1
vote
0
answers
606
views
What can be the reason for a Stack canary watchpoint triggered (loopTask) on a https get() command?
I have a program that only do get and post to a controller via an ethernet port. My problem is that after a certain amount of loop in the program, i got this error:
Guru Meditation Error: Core 1 ...
2
votes
0
answers
811
views
Receive data from ESP32 with HTTPClient
I need to receive data from sensors on the websites located on my PC (hosted with XAMPP).
When I was first using AsyncWebServer library and hosting them on ESP32 everything was working with a ...
2
votes
0
answers
201
views
Using HTTPClient with ESP not working
I have a program running on an esp8266 that attempts to fetch json data from an HTTPS endpoint that is hosted on aws amplify (data comes from a next.js app).
I can retrieve the data correctly when I ...
1
vote
2
answers
799
views
ESP32 HTTP Request handles Go webserver response, but fails on node JS servers
I've set up an esp32 board (wemos d1 r32) to send a request to a server hosted on my local network. If I set up a very basic go server, the board handles the response fine (200 with the appropriate ...
1
vote
0
answers
623
views
ESP32-S3 - HttpClient only returns 200 status code no JSON payload data
I have a ESP-S3 board and am trying to get JSON data from our server. I am using the following code (see below) as a basis for mine.
This code works. If I change
http://jsonplaceholder.typicode.com/...
-1
votes
1
answer
2k
views
POST request (HTTPClient) with ESP8266 not working on localhost (http code = -1)
I've been looking around for a solution, but couldn't manage to find one. I'm looking to send a post request from an ESP8266 on a local API.
Here is my code :
#include <ESP8266WiFi.h>
#include &...
-1
votes
1
answer
1k
views
Use of ESPAsyncWebServer.h with ArduinoJson version 6 for Master-Client transactions
I want to communicate two (2) ESP32's via Json commands using ESPAsyncWeb.h. The master should have specific operations to execute and respond to the client, and the client should be able to send ...
1
vote
1
answer
357
views
MAX30100 and ESP8266 NodeMCU Serial Errors
This is my final year project and for some reason, the max30100 sensor defaults to static values once the HTTP post request has been performed.
#include <ESP8266WiFi.h>
#include <...
-1
votes
1
answer
3k
views
ESP32 Access Point using ESPAsyncWebServer, how to send multiple parameters between submenu and main (index) menu while still retaining page layout? [duplicate]
I am trying to figure out how to get requests (or whatever they are called) to display in the serial monitor, yet not change the HTML page bodies.
The user selects their choices in the submenu (...
2
votes
0
answers
661
views
HTTPClient works with localhost but not server
I started to work with HTTPClient and the WiFly library to connect to an SSID and then send POST data to a server. When I was sending the data to my localhost, it was working on localhost, but when ...
1
vote
1
answer
246
views
WiFi.h library, Issues with client.print()
I have an esp32 development board that I am trying to use to get Bitcoin price data using the Coinbase api.
On the Coinbase developers website, they give this example Curl command to get Bitcoin price ...
1
vote
0
answers
355
views
Error Performing HTTP GET request on google sheets (Apps Script) using TTGO T-CALL
I've tried using several libraries such as TinyGSM, SoftwareSerial, AT commands but I'm guessing the problem to be with my GET request url is https://script.google.com/macros/s/GAS_ID/exec?tag=1234&...
0
votes
1
answer
2k
views
How to send int array with ESP8266 http post request?
I'm reading RFID cards' UID with an ESP8266 and trying to send that information to my web server hosted on a Raspberry Pi. I'm currently storing the UID in an int array, but the http.POST(); function ...
0
votes
2
answers
2k
views
Arduino ESP8266 HTTPS Request returning empty response
I want to get some JSON data from a HTTPS secured Webserver using a ESP8266.
For some reason I'm getting an empty response, I believe there's an error parsing the GET request.
In Chrome I get the JSON ...
1
vote
1
answer
4k
views
SIM A9G: +CME ERROR: 53 failure
I'm using a SIM A9G. When I send HTTP GET command from the serial monitor, it responds. But, it doesn't work when included in the code.
#include <SoftwareSerial.h>
SoftwareSerial myserial(8, 7);...
0
votes
1
answer
442
views
Whats wrong with my POST request?
Ive been trying to get POST working on my ESP8266. I followed this tutorial https://techtutorialsx.com/2016/07/21/esp8266-post-requests/ which works, but once i change the request URL to anything else ...
0
votes
1
answer
74
views
How to reset the count/data after HTTP.POST?
I have a project that records interrupts from a reed switch to nodemcu.
It records like this: 0.3,0.6,0.9,1.2 Then what I want to happen is to go back to zero when it successfully HTTP.POST to a ...
-1
votes
1
answer
126
views
HTTP-POST returns 400 when posting a value from the sensor
I'm trying to POST the data of total, but it returns 400. but when I try a sample data like
int httpResponseCode = http.POST("{\"amount\":\"total\"}"); (400)
into
int ...
1
vote
1
answer
3k
views
Making HTTPS requests using ESP8266 AT commands
I am trying to make HTTPS GET/POST requests to the following server using AT commands.
AT+CIPSTART="TCP","54.166.71.140 ",443
I get errors when i use port 443 but on port 80 the ...
3
votes
1
answer
3k
views
Arduino Library to make http post request with bearer authentication
I want to make an Http Post request with Bearer Authentication to my api using my Arduino Mkr Wifi 1010, but I couldn't find the appropriate library to do something like this (code generated with one ...
0
votes
1
answer
795
views
Reading and Writing to a JSON File on the Desktop from Arduino?
I'm fairly new to Arduino. I'm working on a project where I'm making HTTP requests using a python code and this lets me read and write to a JSON file on my desktop. I have an Arduino with sensors that ...
1
vote
1
answer
88
views
Frequency of Retrieving Data from Website
I have wrote a code that communicate with my website to retrieve data to power on or off a 5V relay. I'm running the code every second to make sure it is real time. Is there more efficient way to tell ...
0
votes
1
answer
3k
views
esp32 http client response only 200 didn't receive the data after that
i am using esp32 as a client and using following example. So here i am getting header response only that is 200. I am not getting any response after that. here is the example
#include <WiFi.h>
#...