The browser builds a POST request when you submit a form or upload a file. The request body can be of any size and contain binary data, and the Content-Type header tells the server its format. Like any request, POST begins with looking up the IP address through DNS and establishing a connection — the whole path is described in the article How a browser works.
The method has important distinctions that affect how a site behaves:
POST is used wherever data needs to be sent to a server: signing in, payment, publishing content.