标签: rest cloud-foundry-bosh
我正在使用BOSH Director REST API使用POST /deployments来更新单个部署,其中将清单字符串作为根传递到主体中并将标头设置为text/yaml。 API返回code: 440001, description: 'Manifest should be a hash'。我还尝试发送编码为Base64的清单,但结果相同。
POST /deployments
text/yaml
code: 440001, description: 'Manifest should be a hash'
我想念什么?
欢呼