How to redirect to external url from Web Api Services


How to redirect to external url from Web Api Services


if (order.Payment_Mode == "ONLINE")
{
int amount = (int)order.Tot_Price;
DateTime Today = System.DateTime.Now;
string MerchantId = "";


// return Redirect("https://www.google.com/");

return Ok();

}



I want to redirect to Payment gateway url by adding values in URL









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

Opening a url is failing in Swift

Balds basics in education learning mobile para Android #1

granny's basics in education and learning + MOD link #4