wso2-am Simple pass through endpoint -
how create simple pass-thru endpoint in wso2 apim 2.1 allow requests access files given directory on backend host.
e.g.: files on backend server @ https://192.168.10.10/javascripts/api/
when create wso2 api requires api context , version.
i can create api definition with:
- context: /javascripts
- version: api
- production url: https://192.168.10.10/
- verb:
- resource=path: /javascripts/api/
- x-auth-type: none
but when curl https://mywso2host/javascripts/api/debug.js 404 - no matching resource found given api request
a curl https://192.168.10.10/javascripts/api/debug.js (from mywso2host) works fine.
Comments
Post a Comment