Get - Set - Go! - Setting an attribute or variable on the Axway/Vordel API Server
Join the DZone community and get the full member experience.
Join For FreeNext I do the "Get". So, I use a "Set Message" filter which is outputting the value of this variable, using ${australia.melbourne.weather} :
Then finally I use a "Reflect Message" filter to return my message to the client with an HTTP Code of 200:
Now, I write this up to a path called "/getWeather", like this:
So now when I call the API Server on the path of "/getWeather", I get the weather for Melbourne.
Published at DZone with permission of Mark O'Neill, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments