My Oracle Support Banner

How To Get Full Parameter From The REST API Request URL (Doc ID 2185577.1)

Last updated on APRIL 02, 2018

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.


OAG version is 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&param1=def&param2=ghi
sample request to API Gateway : http://soagatewayhost:8080/operation/handler_pl.ashx?key=abcde&cat=123&param1=def&param2=ghi

There is a need to extract this param : "?key=abcde&cat=123&param1=def&param2=ghi"
How to get full parameter from the request url ?



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.