github.com/avenga/couper@v1.12.2/server/testdata/integration/endpoint_eval/05_couper.hcl (about)

     1  server "api" {
     2    api {
     3      endpoint "/" {
     4        proxy {
     5          backend = "anything"
     6        }
     7  
     8        set_query_params = {
     9          ae = "ae"
    10        }
    11      }
    12    }
    13  }
    14  
    15  definitions {
    16    # backend origin within a definition block gets replaced with the integration test "anything" server.
    17    backend "anything" {
    18      path = "/xxx"
    19      origin = env.COUPER_TEST_BACKEND_ADDR
    20  
    21      set_query_params = {
    22        def = "def"
    23      }
    24    }
    25  }