docker run -d -p <host-port>:1080 mockserver/mockserver
curl -X PUT '192.168.0.57:1090/mockserver/expectation' \
-d '{
"httpRequest": {
"method": "POST",
"path": "/alarm"
},
"httpResponse": {
"body": "OK"
}
}'
curl -X PUT "http://192.168.0.36:1090/mockserver/clear" -d '{
"id": "e5f95215-bdcd-4f58-8919-9b6bcf08e642"
}'
浏览器登陆http://:/mockserver/dashboard