HTTP Webhook

Monster Mock allows you to define a webhook notification endpoint on every matched mock, this feature can be useful to trigger other systems or get information about the current request execution.

Webhook Example

{
	"description": "It calls a webhook after the call",
	"request": {
		"method": "GET",
		"path": "/something/webhook"
	},
	"response": {
		"statusCode": 200,
		"body": "I'm throwing a webhook!!"
	},
    "control" : {
        "webHookURL" : "http://127.0.0.1:9999/webhook"
    }
}

The format is JSON and the request is done as a HTTP POST request.