Created
February 22, 2018 09:59
-
-
Save asoorm/e82928e0fc55f63a41c22a3c504a3127 to your computer and use it in GitHub Desktop.
Tyk API Definition - Path Match With Regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Path Match with Regex", | |
"active": true, | |
"api_id": "1", | |
"org_id": "1", | |
"slug": "path-match-with-regex", | |
"definition": { | |
"location": "", | |
"key": "" | |
}, | |
"use_keyless": true, | |
"auth": { | |
"auth_header_name": "" | |
}, | |
"version_data": { | |
"not_versioned": true, | |
"versions": { | |
"Default": { | |
"name": "Default", | |
"use_extended_paths": true, | |
"extended_paths": { | |
"white_list": [{ | |
"path": "(get|anything)", | |
"method_actions": { | |
"GET": { | |
"action": "no_action", | |
"code": 200, | |
"data": "", | |
"headers": {} | |
} | |
} | |
}] | |
} | |
} | |
} | |
}, | |
"proxy": { | |
"listen_path": "/path-match-with-regex/", | |
"target_url": "http://httpbin.org/", | |
"strip_listen_path": true | |
}, | |
"do_not_track": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment