vinod p
03/05/2024, 3:54 PM{
"request": {
"method": "POST",
"urlPattern": {{url_match_pattern}}
},
"response": {
"status": 200,
"jsonBody": {
"request_id": {{request_id_one}}
},
"headers": {
"Content-Type": "application/json"
}
},
"serveEventListeners": [
{
"name": "l3vpn",
"parameters": {
"method": "POST",
"url": "{{jsonPath originalRequest.query '$.callback_url'}}/{{request_id_one_str}}",
"delay": {
"type": "fixed",
"milliseconds": 5000
},
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"inprocess": "in process method"
}
}
}
]
}
The callback is received on the callback_url passed along in the headers of request. But the content of callback is empty.
i expect following response in the callback body:
"inprocess": "in process method"
Tom
03/05/2024, 4:00 PMurl": "{{originalRequest.query.callback_url.0'}}"
vinod p
03/05/2024, 4:01 PMTom
03/05/2024, 4:02 PMvinod p
03/05/2024, 4:03 PMTom
03/05/2024, 4:07 PMTom
03/05/2024, 4:07 PMTom
03/05/2024, 4:08 PMjsonBody
isn’t supported for webhooksTom
03/05/2024, 4:09 PMbody
instead, which needs to be a Stringvinod p
03/05/2024, 4:14 PMTom
03/05/2024, 4:14 PMvinod p
03/05/2024, 4:18 PMvinod p
03/05/2024, 4:22 PMvinod p
03/05/2024, 4:27 PM