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

     1  server "request-limit" {
     2    error_file = "./../integration/server_error.html"
     3  
     4    api {
     5      error_file = "./../integration/api_error.json"
     6  
     7      endpoint "/" {
     8        access_control = ["BA"]
     9        request_body_limit = "1"
    10        response {
    11          status = 204
    12          body = request.json_body
    13        }
    14      }
    15    }
    16  }
    17  
    18  definitions {
    19    basic_auth "BA" {
    20      password = "qwertz"
    21    }
    22  }
    23