用户工具

站点工具


cookbook:jetfire

命令行上传文件

(Authorization 是固定的,测试环境可用)

curl -F 'metadata={“permission_mode”:“PUBLIC”,“ttl”:60000,“attributes”:{}};type=application/json' -F 'content=@students2.csv' https://develop.aprime.cn/api/jetfire/public/file/upload -H 'Authorization: Bearer eyJ2ZXIiOiIxLjAiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJpbmZyYSIsImFpZCI6IkY0akJqY1BQUUMycjM5TUp1eV95bVEiLCJhcHAiOiJpbmZyYSIsImlhdCI6MTYxMTczMTYwNCwiZXhwIjoyMjQyNDUxNjA0fQ.RmWoSfQq1UUggmYD1QmXzopAN2ayrXBGSYphsJCjR9EsFCbRzhwofFTavjNbnOjAKAgHcM6In4ZzQa6SNWyriTIlGWvTT_EyWtoXdFM6l2LnWXbDMcf7kYi_0I4SAma60wQMhRcF-wSLy91uNOBXWyGYW-B1hc8YK-Y68CQA-8s'

cookbook/jetfire.txt · 最后更改: 2021/10/20 09:13 由 plough