take a click event and send it to the backend

Asked

Viewed 15 times

1

Hello I have a question wanted to know how to capture a click event and send to the back end, I thought to do with routes but I think it would not be cool, I am using Node

  • Use XmlHttpRequest or fetch(), regardless of the technology used for the back-end the process will always be HTTP.

  • @Jorgevitorp. For future questions, based on the scope of the site, it is worth understanding What is Stack Overflow (https://pt.meta.stackoverflow.com/questions/7256/o-que-%C3%A9-o-stack-overflow), how to make a Minimum, Complete and Verifiable Example (https://answall.com/help/minimal-reproducible-example) and read the Stack Overflow Survival Guide (short) in English (https://pt.meta.stackoverflow.com/questions/8089/guia-survivor%C3%aancia-do-sopt vers%C3%a3o-short).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.