github.com/fastly/go-fastly/v6@v6.8.0/fastly/fixtures/backends/create.yaml (about)

     1  ---
     2  version: 1
     3  interactions:
     4  - request:
     5      body: ServiceID=7i6HN3TK9wS159v2gPAZ8A&ServiceVersion=73&address=integ-test.go-fastly.com&connect_timeout=1500&name=test-backend&override_host=origin.example.com&port=1234&ssl_check_cert=0&ssl_ciphers=DHE-RSA-AES256-SHA%3ADHE-RSA-CAMELLIA256-SHA%3AAES256-GCM-SHA384
     6      form:
     7        ServiceID:
     8        - 7i6HN3TK9wS159v2gPAZ8A
     9        ServiceVersion:
    10        - "73"
    11        address:
    12        - integ-test.go-fastly.com
    13        connect_timeout:
    14        - "1500"
    15        name:
    16        - test-backend
    17        override_host:
    18        - origin.example.com
    19        port:
    20        - "1234"
    21        ssl_check_cert:
    22        - "0"
    23        ssl_ciphers:
    24        - DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:AES256-GCM-SHA384
    25      headers:
    26        Content-Type:
    27        - application/x-www-form-urlencoded
    28        User-Agent:
    29        - FastlyGo/5.1.2 (+github.com/fastly/go-fastly; go1.17.3)
    30      url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/73/backend
    31      method: POST
    32    response:
    33      body: '{"address":"integ-test.go-fastly.com","connect_timeout":1500,"name":"test-backend","override_host":"origin.example.com","port":1234,"ssl_check_cert":false,"ssl_ciphers":"DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:AES256-GCM-SHA384","service_id":"7i6HN3TK9wS159v2gPAZ8A","version":73,"created_at":"2021-11-26T07:11:11Z","ipv4":null,"deleted_at":null,"ipv6":null,"ssl_ca_cert":null,"min_tls_version":null,"ssl_hostname":null,"auto_loadbalance":false,"updated_at":"2021-11-26T07:11:11Z","ssl_sni_hostname":null,"max_conn":200,"ssl_cert_hostname":null,"shield":null,"between_bytes_timeout":10000,"error_threshold":0,"hostname":"integ-test.go-fastly.com","ssl_client_key":null,"comment":"","use_ssl":false,"weight":100,"max_tls_version":null,"first_byte_timeout":15000,"client_cert":null,"healthcheck":null,"request_condition":"","ssl_client_cert":null}'
    34      headers:
    35        Accept-Ranges:
    36        - bytes
    37        Cache-Control:
    38        - no-store
    39        Content-Type:
    40        - application/json
    41        Date:
    42        - Fri, 26 Nov 2021 07:11:12 GMT
    43        Fastly-Ratelimit-Remaining:
    44        - "4998"
    45        Fastly-Ratelimit-Reset:
    46        - "1637913600"
    47        Status:
    48        - 200 OK
    49        Strict-Transport-Security:
    50        - max-age=31536000
    51        Vary:
    52        - Accept-Encoding
    53        Via:
    54        - 1.1 varnish, 1.1 varnish
    55        X-Cache:
    56        - MISS, MISS
    57        X-Cache-Hits:
    58        - 0, 0
    59        X-Served-By:
    60        - cache-control-slwdc9037-CONTROL-SLWDC, cache-tyo11949-TYO
    61        X-Timer:
    62        - S1637910671.382241,VS0,VE667
    63      status: 200 OK
    64      code: 200
    65      duration: ""