typo in content type
This commit is contained in:
parent
899621e6a3
commit
55db5d7d39
|
@ -53,18 +53,9 @@
|
|||
"type": "JSON_JQ_TRANSFORM",
|
||||
"inputParameters": {
|
||||
"role": "${retrieve_member_role.output.body}",
|
||||
"queryExpression" : "[.role]"
|
||||
"queryExpression" : ".role"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LAMBDA_TASK",
|
||||
"taskReferenceName": "to_role_array",
|
||||
"type": "LAMBDA",
|
||||
"inputParameters": {
|
||||
"role": "${retrieve_member_role.output.body}",
|
||||
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "pyrest",
|
||||
"type" : "SIMPLE",
|
||||
|
@ -74,10 +65,10 @@
|
|||
"method" :"POST",
|
||||
"headers" : {
|
||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||
"Content-type" : "application/json",
|
||||
"Content-Type" : "application/json",
|
||||
"Accept":"application/json"
|
||||
},
|
||||
"body" : "${to_role_array.output.result}"
|
||||
"body" : "${to_array.output.resultList}"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -57,8 +57,7 @@
|
|||
"headers" : {
|
||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||
"Content-Type" : "application/json"
|
||||
},
|
||||
"expect" : [200,204,201,409]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue