Sample to post to an HTTP server using a certificate