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

     1  server "url" {
     2    api {
     3      endpoint "/" {
     4        proxy {
     5          url = "${env.COUPER_TEST_BACKEND_ADDR}/anything?x=y"
     6          backend = "anything"
     7        }
     8      }
     9    }
    10  }
    11  
    12  definitions {
    13    # backend origin within a definition block gets replaced with the integration test "anything" server.
    14    backend "anything" {
    15      origin = env.COUPER_TEST_BACKEND_ADDR
    16      set_query_params = {
    17        a = "A"
    18      }
    19    }
    20  }