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

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