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

     1  server "form-params" {
     2    error_file = "./../server_error.html"
     3  
     4    endpoint "/" {
     5      proxy {
     6        backend = "anything"
     7      }
     8  
     9      set_form_params = {
    10        a = "A"
    11        b = "B"
    12        c = ["C 1", "C 2"]
    13      }
    14  
    15      add_form_params = {
    16        d = "D"
    17      }
    18  
    19      remove_form_params = ["x"]
    20    }
    21  }
    22  
    23  definitions {
    24    backend "anything" {
    25      path = "/anything"
    26      origin = env.COUPER_TEST_BACKEND_ADDR
    27    }
    28  }