Use HTTPS rather than http

HTTP works on the dev vm but in "real" environments we use HTTPS -
posting over HTTPS will return a 301 which results in a get request
being made.