Switched to  request rather than https
fixed async issues