My Oracle Support Banner

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

Last updated on OCTOBER 07, 2022

Applies to:

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


OAG version is

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://<HOST>:<PORT>/<URL>/<SERVICE>?<PARAM1>=<VALUE1>&<PARAM2>=<VALUE2>&<PARAM3>=<VALUE3>
sample request to API Gateway:  http://<GATEWAY HOST>:<GATEWAY PORT>/<URL>/<SERVICE>?<PARAM1>=<VALUE1>&<PARAM2>=<VALUE2>&<PARAM3>=<VALUE3>

There is a need to extract this param : "?<PARAM1>=<VALUE1>&<PARAM2>=<VALUE2>&<PARAM3>=<VALUE3>"

Is it possible to get the full parameter list 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.