| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: Service=7i6HN3TK9wS159v2gPAZ8A&Version=54&address=example.com&format=format&format_version=2&hostname=example.com&message_type=classic&name=test-syslog&port=1234&token=abcd1234 |
| 7 | form: |
| 8 | Service: |
| 9 | - 7i6HN3TK9wS159v2gPAZ8A |
| 10 | Version: |
| 11 | - "54" |
| 12 | address: |
| 13 | - example.com |
| 14 | format: |
| 15 | - format |
| 16 | format_version: |
| 17 | - "2" |
| 18 | hostname: |
| 19 | - example.com |
| 20 | message_type: |
| 21 | - classic |
| 22 | name: |
| 23 | - test-syslog |
| 24 | port: |
| 25 | - "1234" |
| 26 | token: |
| 27 | - abcd1234 |
| 28 | headers: |
| 29 | Content-Type: |
| 30 | - application/x-www-form-urlencoded |
| 31 | Fastly-Key: |
| 32 | - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 33 | User-Agent: |
| 34 | - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12) |
| 35 | url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/54/logging/syslog |
| 36 | method: POST |
| 37 | response: |
| 38 | body: '{"address":"example.com","format":"format","format_version":"2","hostname":"example.com","message_type":"classic","name":"test-syslog","port":"1234","token":"abcd1234","service_id":"7i6HN3TK9wS159v2gPAZ8A","version":"54","tls_hostname":null,"use_tls":"0","created_at":"2019-05-11T21:44:58Z","response_condition":"","updated_at":"2019-05-11T21:44:59Z","tls_ca_cert":null,"placement":null,"deleted_at":null,"ipv4":null,"public_key":null}' |
| 39 | headers: |
| 40 | Accept-Ranges: |
| 41 | - bytes |
| 42 | Cache-Control: |
| 43 | - no-cache |
| 44 | Content-Type: |
| 45 | - application/json |
| 46 | Date: |
| 47 | - Sat, 11 May 2019 21:44:59 GMT |
| 48 | Fastly-Ratelimit-Remaining: |
| 49 | - "991" |
| 50 | Fastly-Ratelimit-Reset: |
| 51 | - "1557612000" |
| 52 | Status: |
| 53 | - 200 OK |
| 54 | Strict-Transport-Security: |
| 55 | - max-age=31536000 |
| 56 | Vary: |
| 57 | - Accept-Encoding |
| 58 | Via: |
| 59 | - 1.1 varnish |
| 60 | - 1.1 varnish |
| 61 | X-Cache: |
| 62 | - MISS, MISS |
| 63 | X-Cache-Hits: |
| 64 | - 0, 0 |
| 65 | X-Served-By: |
| 66 | - cache-control-slwdc9035-CONTROL-SLWDC, cache-lax8631-LAX |
| 67 | X-Timer: |
| 68 | - S1557611099.652892,VS0,VE682 |
| 69 | status: 200 OK |
| 70 | code: 200 |