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

     1  server "no-gz" {
     2    hosts      = ["example.org:9898"]
     3    error_file = "./../integration/server_error.html"
     4  
     5    endpoint "/0" {
     6      response {
     7        status = 200
     8      }
     9    }
    10  
    11    endpoint "/59" {
    12      response {
    13        status = 200
    14        body = "11111111112222222222333333333344444444445555555555123456789"
    15      }
    16    }
    17  
    18    endpoint "/60" {
    19      response {
    20        status = 200
    21        body = "111111111122222222223333333333444444444455555555551234567890"
    22      }
    23    }
    24  
    25    endpoint "/x" {
    26      proxy {
    27        url = "${env.COUPER_TEST_BACKEND_ADDR}/pdf"
    28      }
    29    }
    30  
    31    endpoint "/10" {
    32      proxy {
    33        url = "${env.COUPER_TEST_BACKEND_ADDR}/small"
    34      }
    35    }
    36  }