Before any data is sent, the browser and server establish a TLS connection: they agree on ciphers and exchange keys, and the server presents a certificate. After that all traffic — GET and POST requests, the URL, cookies — travels encrypted. Such a site shows the https scheme and a padlock icon in the address bar.
Moving to HTTPS solves several problems at once:
Today HTTPS is the de-facto standard for any website, not just pages with forms and payments.