Check out example codes for "enctype= multipart/form-data". It will help you in understanding the concepts better.
Code Example 1
enctype="multipart/form-data"
Code Example 2
<form action="/action_page_binary.asp"
method="post" enctype="multipart/form-data">
<label for="fname">First name:</label>
<input type="text" id="fname"
name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input
type="submit" value="Submit">
</form>
Learn ReactJs, React Native from akashmittal.com