Demo entry 6776317

bash

   

Submitted by anonymous on Dec 02, 2018 at 00:32
Language: Bash. Code size: 211 Bytes.

curl -v -X PUT "http://localhost:1080/mockserver/expectation" -d '{
    "httpRequest" : {
        "path" : "/actuator/health"
    },
    "httpResponse" : {
        "body" : "{\"status\": \"UP\"}"
    }
}'

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).