API:Upload/Sample code 1