Updated endpoint to utilise SSL connection