Last updated on SEPTEMBER 27, 2016
Applies to:Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.
OAG version is 18.104.22.168 SP4.
There is a REST API that receives an HTTP get parameter, and this API will return response in JSON format.
API gateway is put in front of this REST Service, so other users will send request to API gateway first. Then, the API Gateway will forward the request to the original REST API.
This HTTP GET has 4 parameters.
sample request to the original REST API : http://localhost/operation/handler_pl.ashx?key=abcde&cat=123¶m1=def¶m2=ghi
sample request to API Gateway : http://soagatewayhost:8080/operation/handler_pl.ashx?key=abcde&cat=123¶m1=def¶m2=ghi
There is a need to extract this param : "?key=abcde&cat=123¶m1=def¶m2=ghi"
How to get full parameter from the request url ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms