Added support for https in specific methods