对于CURL POST请求,我具有以下数据格式
{
"logs": "STEP: Creating a claim with a dynamic provisioning annotation
STEP: checking the claimlocal-vlz9r
STEP: Checking the created volume is writable
STEP: Saw pod success
STEP: Sleeping to let kubelet destroy pods",
"pass": "true | false"
}
它显示400 Bad Request
如果我保持这种方式,则回复为success
{
"logs": "STEP: Creating a claim with a dynamic provisioning annotation.STEP: checking the claimlocal-vlz9r.STEP: Checking the created volume is writable STEP: Saw pod success STEP: Sleeping to let kubelet destroy pods",
"pass": "true | false"
}
但是这些是我的测试报告,我会首先需要它[以换行符逐行显示]