Upload files through POST/PUT HTTP request