• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Handler not Found error

Q&A Forum › Category: Questions › Handler not Found error
0 Vote Up Vote Down
jawilson asked 3 weeks ago

I am getting a Handler not found message at the browser when I use the this simple page with an AsyncWebServer.  I am new to HTML and I can’t figure out what is happening.  The HTML can be found at the following link:  HTML Code
Would appreciate some help.  Thanks in advance.

Question Tags: html
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 weeks ago

Hi.
Which project are you following?
Where do you get that error and what is exactly the error?
Can you share the eSP32 code?
Regards,
Sara

0 Vote Up Vote Down
jawilson answered 3 weeks ago

The error I get at the browser after I click submit is “Handler did not handle the request”.  The values taken from the /POST work fine.  Find the code at pastebin.com/99du6DSa.  Help is much appreciated.  Love your work.  Jim
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 weeks ago

Hi.
I think the problem is that you’re missing handling a response inside the

server.on("/", HTTP_POST, [](AsyncWebServerRequest *request) { 

function.
 
Add this to the end of server.on()

request->send(200, "text/html", index_html);

 
I hope this helps.
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.