hi <@U0592TMJU4V> I'm getting Mid: [R03[ERROR: is...
# wiremock-java
d
hi @Lee Turner I'm getting Mid: [R03[ERROR: is not valid XML]], request in enclosing chat probably the request body is in string format, any way to deal with that will help
Copy code
{
  "priority": 2,
  "request": {
    "method": "POST",
    "urlPathPattern": "/wiremock/v2/pay"
  },
  "response": {
    "status": 202,
    "headers": {
      "Mid": "R03{{xPath request.body '/MDoc/Id/text()'}}"
    }
  }
}
l
What request payload are you sending to that stub
d
I'll check and get back to you