mmock icon indicating copy to clipboard operation
mmock copied to clipboard

[Feature Request] multiple callbacks

Open TheCycoONE opened this issue 3 years ago • 0 comments

I was attracted to this tool by the callback functionality (https://github.com/jmartin82/mmock/issues/110) but for our purposes (simulating the Twilio Programmable Messaging API) it would be useful to support multiple callbacks for the same request.

In Twilio's API they send you several status updates as the message progresses.

I was thinking:

{
  "request": { ... },
  "response": { ... },
  "callbacks": [ { <callback definition 1> }, { <callback definition 2>} ...]
}

TheCycoONE avatar Nov 18 '21 17:11 TheCycoONE