Added getRoute to control api

This commit is contained in:
Héctor Hurtado
2019-10-24 17:51:55 +02:00
parent 2fc18b76e3
commit a54c6f24a1
5 changed files with 145 additions and 8 deletions
@@ -21,7 +21,7 @@ Feature: Retrieve route details in Kapow! server.
Get route details by id.
Given I have a Kapow! server with the following routes:
| method | url_pattern | entrypoint | command |
| method | url_pattern | entrypoint | command |
| GET | /foo | /bin/sh -c | ls -la / \| kapow set /response/body |
| GET | /qux/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| kapow set /response/body |
When I get the first route