I'm using node js as server. Do i have to configure index.js file while using localtunnel? While submitting form, which URL do I have to specify? should i use URL provided by localtunnel.
<form name="formname" action="http://localhost:3000/register" method="post">
I know its a silly question. Can somebody provide a small guidance?
Assuming your routes are set up, you should just be able to post to /register
like so:
<form name="formname" action="/register" method="post">
EDIT: Wanted to add, if you're developing in a JS environment like node, you should consider having the form action being triggered with an event listener (syntax depending on if you're using jQuery / vue.js / React / Polymer etc) that: