Switch API call to HTTPS, solves problem with 301 redirect

//cc @jagtalon