My Oracle Support Banner

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

Last updated on FEBRUARY 06, 2024

Applies to:

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

Goal

OAG version is 11.1.2.4.

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?

 

Solution

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
Goal
Solution


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