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

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