restish icon indicating copy to clipboard operation
restish copied to clipboard

When multiple APIs are configured, and one's base path is a more specific prefix of the other, restish picks the api to use at random.

Open jwong-isp opened this issue 3 years ago • 0 comments

Dirty example of apis.json:

"api1": {
      "base": "https://api.example.com",
...
"api2": {
     "base": "https://api.example.com/foo"
}

If restish is configured like the above, it will randomly switch between api1 and api2 when executing commands: i.e.

restish api1 command1

will sometimes execute against api2 instead of api1.

jwong-isp avatar Jul 18 '22 23:07 jwong-isp