headers = {'Cookie': Authenticationtoken.cookie, 'Content-Type':
Authenticationtoken.contentType}
createworkspaceurl = Authenticationtoken.BaseURL + "/workspace/create"
print("API for create workspace " + createworkspaceurl)
jsondata = json.dumps(PayloadConfig.createWorkspace)
jsondataasbytes = jsondata.encode('utf-8')
print(jsondata)
response_createworkspace = requests.post(createworkspaceurl,
data=jsondata, headers=headers, verify=False)
`我也在python脚本中传递相同的标头数据和相同的有效载荷,但它给出了“不允许”消息
nginx \ r \ n \ r \ n \ r \ n'