Not able to fetch response URL in APIGEE -


Hello, I'm trying to get the response URL from the backend. I am able to get the request URL, but the response is not able to get the URL. Any suggestions / suggestions are appreciated. Thanks in advance.

Below your backend, a redirect URL (such as HTTP 302 location header) and an athlete in the URL The code that you want to remove in the APG Proxy-Flow Response Path -

You can use the JavaScript script in the response path of your proxy flow, such as: url = context.getVariable ("response.headers.Location"); Var re = New RegExp ("#. *. * [? & Amp;]" + "code" + "= ([^ & amp;; +] (& amp;;)); Var code = url.match (Re); Context.setVariable ("authcode", code);

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -