Net based application using Web api and angularjs. I am trying to integrate payment API's. The post variables can be accessed on the redirect URL.
I am able to receive in asp.net as below.
protected void Page_Load(object sender, EventArgs e)
{
string order_id = Request.Form["order_id"];
string transaction_id = Request.Form["transaction_id"];
}
I want to receive parameters in Webapi2. Is there any way i can write above piece of code in api? Thanks for your help.