Following is my use case. I have a proxy with base path {myBasePath} . I am hitting this proxy with the path https://myapigeedomain.com/myBasePath/path1/path2/path3/somepathvariable/path4. My target endpoint host is https://mytargetendpoint.com . I want to call my target with following path ...
https://mytargetendpoint.com/path3/somepathvariable/path4 . I want to remove /path1/path2 from my request path and just get /path3/somepathvariable/path4 which I need to append at the end of target end point. How to do that ? Right now it's getting wrong endpoint which is https://mytargetendpoint.com/path1/path2/path3/somepathvariable/path4 which has something unwanted.
Solved! Go to Solution.
Can you just modify your basepath so that it is myBasePath/path1/path2 ?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |