Say there is a client and a server. Assume the client sends a HTTP GET request GET /?secret=mysecret
or GET /?token=mytoken
via a) SSL and b) TLS.
SSL as I understand it is the connection is encrypted before the request details are being sent and TLS as I understand it an unencrypted request is being sent then encryption is established (maybe not).
edit: Here's an example of where my confusion is coming from: https://security.stackexchange.com/questions/5126/whats-the-difference-between-ssl-tls-and-https the first comment of the accepted answer.
To make the confusing perfect: SSL (secure socket layer) often refers to the old protocol variant which starts with the handshake right away and therefore requires another port for the encrypted protocol such as 443 instead of 80. TLS (transport layer security) often refers to the new variant which allows to start with an unencrypted traditional protocol and then issuing a command (usually STARTTLS) to initialize the handshake.
And that's the base reason for my question.
Anyhow my question is:
If client sends a HTTP request via a) SSL and b) TLS can the request URI be intercepted by a MITM attack aka is the interceptor able to see the request URI?
Let me rephrase the question: Is the HTTP request sent before encryption with a) SSL and b) TLS or after encryption?