API:Upload/Sample code 3