I need to create a client, and a server using Go; both reside on two different VM on the cloud. My question is, how do we make a request (say post) from client to server? I am not looking for a code, etc. I am trying to build my understanding before I start coding.
I guess I need to run the tls server with a self-signed certificate and start the POST request from the client code by passing the certificate. Am I correct? Can I request like:
client.Get(PUBLIC_IP_ADDRESS_OF_VM1:PORT_NUMBER)