Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

98
Vistas
Seeking help to clear previous route on page reload

I have a few forms where a button causes an action, e.g.

<form action="/W_OK" method ="get" autocomplete="off">
        <p><label id= wifi>%WIFISTATE%</label><p>
        <p><label><a href="wCrd.html">Wifi</a><label></p><br>
        <p><label id = ssid>%SSID%<label><p><br>
        <p><label id = ipaddr>%IPADDR%</label><p>
        <p><button type="submit" class="submitBtn">Accept</button></p>
</form>

When the submit button is pressed, the URL in the browser is 192.168.0.28\W_OK

And the route at /W_OK is processed like this:

server.on("/W_OK", HTTP_GET, [](AsyncWebServerRequest *request){
      wifiMgr.useCredentials();
      request->send(LittleFS, FPSTR(string_indexHTML), String(),false, processor);
      });

The problem I have is that when the index HTML is loaded with the request->send, the URL is still 192.168.0.28\W_OK rather than just 192.168.0.28.

My question is what can I do to clear the extension? Why doesn't reloading the index page, clear the previous request? Is this a browser issue, an HTML issue, or something about how the request is handled?

Thanks in advance

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda