Change the upload method to Restful API(storage).