changed api calls to use https, get call now uses open-uri for https, NOTE: I did fix the upload url but I did not test the upload  api call