Why is Key Not Being Added to Replit DB?

I am adding a form item into Replit DB, but it instead adds to the URL params. Why is this?
Screenshot 2023-08-30 162810

Repl link:
Console Chat on Replit

HTML forms by default send a GET request.

To make it send a POST request:

  <form method="POST">
    <input class="chatbox" name="chatbox" id="chatbox" type="text" minlength="1">
    <button type="submit">Submit</button>

No luck :frowning_face:
I tried changing it and nothing happened

You added it to the div instead of the form

Great! It works! TYSM for the help!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.