These both methods are based on the HTTP method.

GET POST
The GET method transfers data in the form of QUERY_STRING. Using GET it provides a $_GET associative array to access data The post method transfer form data by HTTP Headers. This POST method does not have any restrictions on data size to be sent. With POST method data can travel within the form of ASCII as well as binary data. Using POST, it provides a $_POST associative array to access data.
BY Best Interview Question ON 29 Mar 2022