嗨。
我了这篇文章和这篇文章我正在正确地发送参数,并且我的运行簿中的变量被设置为Runtime。
我也做了一个POST调用,但我仍然得到一个内部服务器错误的消息“'NoneType'对象没有属性'get'”。
以下是我的电话内容:
{
"规范":{
“参数”:(
{
“名称”:“电子邮件”,
“价值”:“mema@tlke.se”
},
{
“名称”:“displayName”,
“价值”:“妈妈MEmem”
},
{
“名称”:“用户名”,
“价值”:“momemom”
},
{
“名称”:“帐号名称”,
value: MAM, MSM 1
},
{
“名称”:“ticketID”,
“价值”:“794”
}
]
}
}
}
}
运行簿有多个任务,这会改变我向它发送参数的方式吗?
谢谢。
最佳答案JoseNutanix
No worries, two things here. With just the first one is enough to make it work, but you can even simplify more:<\/p>
- You have to set the Context-Type to application\/json<\/strong>\u00a0. With this is enough<\/li>\t
- As a bonus to simplify, you can get rid of the header for Cookie. With Authorization is enough.\u00a0<\/li><\/ol>","className":"post__content__best_answer"}">