github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/examples/front-proxy-cassandra/apis/example2.json (about)

     1  {
     2      "name" : "my-endpoint-2",
     3      "active" : true,
     4      "proxy" : {
     5          "listen_path" : "/example/path/*",
     6          "upstreams" : {
     7              "balancing": "roundrobin",
     8              "targets": [
     9                  {"target": "http://www.mocky.io/v2/595625d22900008702cd71e8"}
    10              ]
    11          },
    12          "methods" : ["GET"]
    13      },
    14      "plugins": [
    15          {
    16              "name": "basic_auth",
    17              "enabled": true
    18          }
    19      ]
    20  }