Hi, I'm trying to use webhooks with wiremock and substituting the url from the in postServeActions from the requestbody when the URL contains special chars like "="
how to get rid of this problem, any help is appreciated.
wiremock stub:
{
"request": {
"urlPath": "/trigger-webhook",
"method": "POST"
},
"response": {
"status": 200
},
"postServeActions": [
{
"name": "webhook",
"parameters": {
"method": "POST",
"url": "'{{jsonPath originalRequest.body '$.callbackUrl'}}'",
"headers": {
"Content-Type": "application/json; charset=utf-8",
},
"body": "{"blah":"blah"}",
"delay": {
"type": "fixed",
"milliseconds": 1
}
}
}
]
}
thanks,