Created
March 4, 2018 12:04
-
-
Save asoorm/3c1b493465b31447b3a6602988b0d7d3 to your computer and use it in GitHub Desktop.
Example Auth-Token Protected API Definition for Tyk API Gateway
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": "AuthToken HttpBin", | |
"api_id": "1", | |
"org_id": "default", | |
"auth": { | |
"auth_header_name": "Authorization" | |
}, | |
"version_data": { | |
"not_versioned": true, | |
"versions": { | |
"Default": { | |
"name": "Default", | |
"expires": "3000-01-02 15:04", | |
"use_extended_paths": true, | |
"extended_paths": { | |
"ignored": [], | |
"white_list": [], | |
"black_list": [] | |
} | |
} | |
} | |
}, | |
"proxy": { | |
"listen_path": "/httpbin/", | |
"target_url": "http://httpbin.org", | |
"strip_listen_path": true | |
}, | |
"enable_batch_request_support": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment