For a long time I love programming things that collects data for me. In Python I can make a GET request to a website and return the HTML of the website I would like to receive.
But in alot of websites you can POST something to the server and PHP would then respond/react on that sended data. How do I do this in Python?
For example, in the website at the bottom of this post I can insert my name and press the submit button to send the data to the PHP script. How do i do this in a socket with Python?
Also I really want to make it work without any libraries because ill be implementing it to other programs in other programming languages.
<html>
<body>
<form action="website.php" method="post">
<fieldset>
<br>
Enter your name:
<input type="text" name="un">
<center>
<input type=submit value=submit>
</center>
</fieldset>
</form>
</body>
</html>