0
使用全新安装这应该是直接,但每次我尝试上传许可证,我收到一个奇怪的错误信息。上传许可证文件通过API
我正在使用curl上传许可证文件。
curl -X POST \
http://server_IP:7180/api/v13/cm/license \
-H 'authorization: Basic YWRtaW46YWRtaW4=' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data;
-F '[email protected]:\Users\admin\Desktop\license_new.txt'
响应消息:
{ "message" : "No multipart with content id license found, request content type : multipart/form-data;boundary=--------------------------876318151600001394250578" }
任何想法?
Version: Cloudera Enterprise 5.8.3 (#8 built by jenkins on 20161019-1014 git: 518f0d6d44abc87bc392646e4369a20c8192b7cf)
Java Version: 1.7.0_75
感谢@jedijs您的帮助,这似乎是我应该把'许可证=',而不是'ID =' – Deano