I've added new action to my asp.net mvc application and add specific rule for it inside RouteConfig.cs.
But all parameters passed as null.
Here is my route rule:
routes.MapRoute(
"toekn_submit_route",
"{controller}/SendToken/{platform}/{token}/{uid}",
new { controller = "Home", action = "SendToken" }
, new[] { "MvcApplication.Controllers" }
);
And here is action deceleration:
public JsonResult SendToken(string platform, string token, string uid) { ... }
I call action using this URL: http://localhost:51650/Home/SendToken/platform/token/uid
actionlike this:-"{controller}/{action}/{platform}/{token}/{uid}"