Developer Portal encodes request url

Hi,

When configuring the Developer Portal (version 4.15.04.01) and testing for instance the weather API, we see that the request URL is being sent encoded towards the Apigee Console;

IP:59002/smartdocs/v1/sendrequest?targeturl=http%3A%2F%2F<IP>%3A9002%2Fweather%2Fforecastrss%3Fw%3D231&_=1444824580978

This results in a '503'. When I manually decode the request URL and test it via the console or for instance Postman, it works;

IP:59002/smartdocs/v1/sendrequest?targeturl=http://IP:9002/weather/forecastrss?w=qwe&_=1444814676456

Any thoughts on what I might be doing wrong would be great!

thanks and kind regards,

Guy

0 1 135
1 REPLY 1

Not applicable

Hi @GuyH

#1 Firstly you can check the targeturl by accessing it directly if the api is deployed or not .

GET http://IP:9002/weather/forecastrss?w=qwe&_=1444814...

#2 Start trace on SmartDocs proxy ( smartdocs/v1/sendrequest ) to confirm if your request is received on proxy_url ( 59002 ) and debug what is causing the failure.

#3 If the request is not received on #2 trace session, You may want to re-deploy the smartdocs proxy.

If you are still seeing the issue, feel free to log a ticket with Apigee support.