Message from JavaScript discussions

September 2018

— To do the same on Linux / Mac, you just remove set

— 

What do you mean with urlencoded data? Coult it work like this?
<form action="" method="post" class="">
<input class="form-control" id="name" name="name" type="text" placeholder="Name *" required="required">
<textarea class="form-control" id="message" name="message" type="text" placeholder="Message *" required="required"></textarea>
</form>

— Yep, looks good

— Https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST#Example

— Here are some examples of urlencoded vs form-data

— The default is urlencoded

— So this will post urlencoded data

— I have another question. Is it necessary to do index.js and server.js or I can do everything in the server.js?

Message permanent page

— All code in one file?
public poll

No – 4
👍👍👍👍👍👍👍 80%
ScaccoGatto, TRGWII, Falk, iamxen

Yes – 1
👍👍 20%
determin1st

Depends
▫️ 0%

👥 5 people voted so far.

Message permanent page

— Let's vote🤤

— 🤣🤣

— Btw, even I hate php I guess using js is much more complicated