github.com/fastly/go-fastly@v1.18.0/fastly/fixtures/acl_entries_batch/update/create_acl_entries.yaml (about)

     1  ---
     2  version: 1
     3  rwmutex: {}
     4  interactions:
     5  - request:
     6      body: '{"entries":[{"op":"create","ip":"127.0.0.1","subnet":"24","comment":"ACL
     7        Entry 1"},{"op":"create","ip":"192.168.0.1","subnet":"24","comment":"ACL Entry
     8        2"}]}'
     9      form: {}
    10      headers:
    11        Accept:
    12        - application/json
    13        Content-Type:
    14        - application/json
    15        Fastly-Key:
    16        - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    17        User-Agent:
    18        - FastlyGo/1.1.0 (+github.com/fastly/go-fastly; go1.12.1)
    19      url: https://api.fastly.com/service/5RZUouxF6dQkKd6RQSla8P/acl/3Q5Oel6HFcUP0gxxSEkxlJ/entries
    20      method: PATCH
    21    response:
    22      body: '{"status":"ok"}'
    23      headers:
    24        Accept-Ranges:
    25        - bytes
    26        Cache-Control:
    27        - no-cache
    28        Content-Type:
    29        - application/json
    30        Date:
    31        - Tue, 23 Jul 2019 09:38:00 GMT
    32        Fastly-Ratelimit-Remaining:
    33        - "967"
    34        Fastly-Ratelimit-Reset:
    35        - "1563876000"
    36        Status:
    37        - 200 OK
    38        Strict-Transport-Security:
    39        - max-age=31536000
    40        Vary:
    41        - Accept-Encoding
    42        Via:
    43        - 1.1 varnish
    44        X-Cache:
    45        - MISS, MISS
    46        X-Cache-Hits:
    47        - 0, 0
    48        X-Served-By:
    49        - cache-control-slwdc9037-CONTROL-SLWDC, cache-lcy19226-LCY
    50        X-Timer:
    51        - S1563874680.569203,VS0,VE498
    52      status: 200 OK
    53      code: 200