Demo entry 6776399

bash

   

Submitted by anonymous on Dec 02, 2018 at 14:29
Language: Bash. Code size: 253 Bytes.

curl -v -X PUT "http://localhost:1080/mockserver/expectation" -d '{
    "httpRequest": {
        "path": "/sendsms"
    },
    "httpResponse" : {
        "statusCode": 200,
        "body": "{\"messageId\": \"0123456789\", \"state\": 1}"
    }
}'

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).