I want to implement comments to my blog and I want to use javascript to do it. When searching for this on stackoverflow I find answers that seem somewhat years old and uses ajax. I figure that javascript must've evolved since then and so I am looking for a modern approach.
How do I send the users' comment from a textarea to flask backend with javascript and including appropriate security (i.e. JWT)?