Check out example codes for "posting with forms html". It will help you in understanding the concepts better.
Code Example 1
<form method="POST" action="INSERT WHERE YOU'RE SENDING THE DATA TO HERE"> <input type="text" name="INSERT DATA KEY NAME HERE"> <!-- You don't have to have this line --> </form>
Learn ReactJs, React Native from akashmittal.com