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.

Hypertext Transfer Protocol (HTTP) uses a client-request/server-response model. HTTP is a stateless protocol, which means it does not require the server to retain information or status about each user for the duration of multiple requests.

185 questions
5
votes
1 answer

How to send HTTP requests to specific port using Ciao?

I currently have a working REST client on my Arduino, but the requests always go to port 80. How do I make it send the request to a specific port? This is my current code: /* File: RestClient.ino This example makes an HTTP request after 10 seconds…
Mason
  • 227
  • 2
  • 10
3
votes
1 answer

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 made with Postman): POST…
Riccardo
  • 33
  • 1
  • 4
3
votes
0 answers

ESP32 HTTP Server request interrupts Telnet session

I have an ESP32 application that uses a web server as a user interface. For auditing and debugging during development I use Serial; however, that is impractical in the installed system. So, I decided to use Telnet (TCP/IP) to monitor what is…
3
votes
2 answers

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 Async Webserver which takes the http requests from…
java bee
  • 81
  • 2
  • 12
3
votes
1 answer

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 modify this to have the LED modulate on/off when…
Tom
  • 339
  • 2
  • 4
  • 10
3
votes
2 answers

Connect Arduino Uno to video camera's web Server via Ethernet (not working)

I work with cameras in the film and TV industry. A project I have just started tinkering around with is building an Arduino Uno-based box that would automatically collect the metadata (settings, etc.) via the camera's built-in web server (over…
3
votes
4 answers

Scan IP address of ESP8266

I am working on a project in which, the mobile app/browser sends HTTP command to ESP8266 in AP mode. The default IP address of ESP is 192.168.4.1. Therefore in order to connect the ESP to WiFi, the command goes like this :-…
MICRO
  • 500
  • 1
  • 8
  • 20
3
votes
0 answers

HTTPS Client with MKR1000

I am making an IoT device with the MKR1000. As a part of the process, I would like to set up an HTTPS connection to https://hit.tl8.co/api/ping (this is a website I have made and control). The problem is that client.connect(url, 443) is returning…
tl8
  • 131
  • 2
2
votes
0 answers

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 combination of those two: response =…
CaramelTr
  • 21
  • 1
2
votes
0 answers

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 use WifiClient alone, but when I want to use…
seddouguim
  • 121
  • 2
2
votes
1 answer

ESP32 Access Point and HTTP Web Server, how to send multiple parameters?

I made this minimal example in order to figure out how to get requests (or whatever they are called) to display in the serial monitor. However, none of the query parameters (in the URL) can be seen in the serial monitor at 115200 baud. The files are…
Adam
  • 47
  • 2
  • 9
2
votes
0 answers

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 changing the URL to a server I am getting this…
2
votes
0 answers

GET/POST request via AT Commands

I am trying to send a simple GET/POST request to a dummy end point on https://requestbin.com/. I am using an ESP8266 module. I am using the arduino serial monitor to send these AT commands. I connect to wifi and then use the following AT…
2
votes
5 answers

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 added an LED flash at the start of the loop and…
David Klempfner
  • 167
  • 3
  • 10
2
votes
1 answer

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 static's IP address. This works great, but I'm…
Rocco
  • 165
  • 5
1
2 3
12 13