如何通过 API 上传文件?

Here is a node example that someone got working that might help: