---
version: 1
rwmutex: {}
interactions:
- request:
    body: Service=7i6HN3TK9wS159v2gPAZ8A&Version=57&name=test%2Fcondition&priority=1&statement=req.url~%2B%22index.html%22&type=REQUEST
    form:
      Service:
      - 7i6HN3TK9wS159v2gPAZ8A
      Version:
      - "57"
      name:
      - test/condition
      priority:
      - "1"
      statement:
      - req.url~+"index.html"
      type:
      - REQUEST
    headers:
      Content-Type:
      - application/x-www-form-urlencoded
      Fastly-Key:
      - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      User-Agent:
      - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12)
    url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/57/condition
    method: POST
  response:
    body: '{"name":"test/condition","priority":"1","statement":"req.url~+\"index.html\"","type":"REQUEST","service_id":"7i6HN3TK9wS159v2gPAZ8A","version":"57","updated_at":"2019-05-13T17:29:57Z","created_at":"2019-05-13T17:29:57Z","deleted_at":null,"comment":""}'
    headers:
      Accept-Ranges:
      - bytes
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 17:29:57 GMT
      Fastly-Ratelimit-Remaining:
      - "998"
      Fastly-Ratelimit-Reset:
      - "1557770400"
      Status:
      - 200 OK
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Accept-Encoding
      Via:
      - 1.1 varnish
      - 1.1 varnish
      X-Cache:
      - MISS, MISS
      X-Cache-Hits:
      - 0, 0
      X-Served-By:
      - cache-control-slwdc9035-CONTROL-SLWDC, cache-sjc3625-SJC
      X-Timer:
      - S1557768597.686362,VS0,VE441
    status: 200 OK
    code: 200
