It's easier to consume the data with the query string http://www.contoso.com/student?id=12345
But how do you consume the data with abc%5Bname%5D on the controller? http://www.contoso.com/student?abc%5Bname%5D=john
It's easier to consume the data with the query string http://www.contoso.com/student?id=12345
But how do you consume the data with abc%5Bname%5D on the controller? http://www.contoso.com/student?abc%5Bname%5D=john
You want HttpUtility.UrlDecode()
var url = "http://www.example.com/student?abc%5Bname%5D=john";
url = HttpUtlity.UrlDecode(url);