Add server api for simple upload with file size limit.