At the end of my Service function , i need to do a redirect like i can do in Python flask (return redirect("http://www.example.com", code=302). How can i do that in my Xdata function. How can i respond with a 302 redirect. I found this code
if Context.Request.Uri.Path = '/tms/xdata' then
Context.Request.RawUri := Context.Request.RawUri + '/echostring';
Next(Context);