Changed API access from http to https