html button send put request code example
Example: html button send post request
<form method='POST' action='myFile.php'>
<input name='myInput'>
<button type='submit'>Submit</button>
<!--Sends input value to the page set as 'action' parameter.
For example a php file.-->
</form>