Avatar
Kc
4b52aa385912d5ec98b773211aa884b1a6656e8fe6bf7a151a6a6f6adf45c417
Software developer from Germany. Mostly working with .NET, C#, Ecmascript, Typescript. Has a weakness for technology in general. Talks about himself in third person 🤔

WTF? Why do you do that?

Only my brother

Great. Where did you order it?

So, to keep it short: HTML forms consist of the

tag, which specifies where and how the data is sent, and of one or more tags, which define what data is sent.

In the form tag, the "action" attribute tells the address/URL, where the data is sent to and the "method" attribute tells where in the HTTP request the data is added.

If method is "get", then the data is added to the so-called "query" of the URL.

For example: If you have an input item with name "foo" and value "bar", then the URL will be something like https://your.domain.com/the.action.address?foo=bar

If the action is "post", then the data is added to the so-called "body" of the HTTP request. Essentially, the request body can take much more data than the query, so most forms work with a "post" method.

Maybe it's not so good as the others?

I'd say don't trust, verify. The only person I've seen saying/writing the book is banned is the author. So this might also be a nice way to promote the book.