github.com/avenga/couper@v1.12.2/server/testdata/endpoints/15_couper.hcl (about)

     1  server {
     2    api {
     3      endpoint "/" {
     4        request "b" {
     5          url = "http://localhost/b"
     6          form_body = {
     7            a = backend_responses.a.status
     8          }
     9        }
    10  
    11        request "a" {
    12          url = "http://localhost/a"
    13          form_body = {
    14            aa = backend_responses.b.status
    15          }
    16        }
    17  
    18        response {
    19          json_body = {
    20            a = backend_responses.a.status
    21          }
    22        }
    23      }
    24    }
    25  }