| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: Service=7i6HN3TK9wS159v2gPAZ8A&Version=29&check_interval=2500&expected_response=200&host=example.com&http_version=1.1&initial=10&method=HEAD&name=test-healthcheck&path=%2Ffoo&threshold=10&timeout=1500&window=5000 |
| 7 | form: |
| 8 | Service: |
| 9 | - 7i6HN3TK9wS159v2gPAZ8A |
| 10 | Version: |
| 11 | - "29" |
| 12 | check_interval: |
| 13 | - "2500" |
| 14 | expected_response: |
| 15 | - "200" |
| 16 | host: |
| 17 | - example.com |
| 18 | http_version: |
| 19 | - "1.1" |
| 20 | initial: |
| 21 | - "10" |
| 22 | method: |
| 23 | - HEAD |
| 24 | name: |
| 25 | - test-healthcheck |
| 26 | path: |
| 27 | - /foo |
| 28 | threshold: |
| 29 | - "10" |
| 30 | timeout: |
| 31 | - "1500" |
| 32 | window: |
| 33 | - "5000" |
| 34 | headers: |
| 35 | Content-Type: |
| 36 | - application/x-www-form-urlencoded |
| 37 | Fastly-Key: |
| 38 | - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 39 | User-Agent: |
| 40 | - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12) |
| 41 | url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/29/healthcheck |
| 42 | method: POST |
| 43 | response: |
| 44 | body: '{"check_interval":2500,"expected_response":200,"host":"example.com","http_version":"1.1","initial":10,"method":"HEAD","name":"test-healthcheck","path":"/foo","threshold":10,"timeout":1500,"window":5000,"service_id":"7i6HN3TK9wS159v2gPAZ8A","version":29,"created_at":"2019-05-09T20:06:51Z","comment":"","updated_at":"2019-05-09T20:06:51Z","deleted_at":null}' |
| 45 | headers: |
| 46 | Accept-Ranges: |
| 47 | - bytes |
| 48 | Cache-Control: |
| 49 | - no-cache |
| 50 | Content-Type: |
| 51 | - application/json |
| 52 | Date: |
| 53 | - Thu, 09 May 2019 20:06:51 GMT |
| 54 | Fastly-Ratelimit-Remaining: |
| 55 | - "19992" |
| 56 | Fastly-Ratelimit-Reset: |
| 57 | - "1557435600" |
| 58 | Status: |
| 59 | - 200 OK |
| 60 | Strict-Transport-Security: |
| 61 | - max-age=31536000 |
| 62 | Vary: |
| 63 | - Accept-Encoding |
| 64 | Via: |
| 65 | - 1.1 varnish |
| 66 | - 1.1 varnish |
| 67 | X-Cache: |
| 68 | - MISS, MISS |
| 69 | X-Cache-Hits: |
| 70 | - 0, 0 |
| 71 | X-Served-By: |
| 72 | - cache-control-slwdc9037-CONTROL-SLWDC, cache-pao17444-PAO |
| 73 | X-Timer: |
| 74 | - S1557432411.254348,VS0,VE496 |
| 75 | status: 200 OK |
| 76 | code: 200 |