Hi,
I need some guidance on how to achieve the requirement.
1. Need to create one proxy for both GET and POST request and handle the responses from the target differently..
For example
GET - /dogs
POST -/dogs with details in the body
Is this possible? If so can you please direct me with the best practises to achieve the same
Thanks in advance
Solved! Go to Solution.
@Deepa , Using flows you can achieve that. refer this http://docs.apigee.com/api-services/content/understanding-flows-and-resources.
You can put conditions for each flow (request/response) like this
<Condition>(proxy.pathsuffix MatchesPath "/dogs") and (request.verb = "POST")</Condition>
@Deepa , Using flows you can achieve that. refer this http://docs.apigee.com/api-services/content/understanding-flows-and-resources.
You can put conditions for each flow (request/response) like this
<Condition>(proxy.pathsuffix MatchesPath "/dogs") and (request.verb = "POST")</Condition>
Thanks will try it out
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |