how handle this in servicestack way?
/api/schools.json?skip=0&take=10&LikeName=%E9%9D%92%E5%B2%9B%E5%B8%82
how handle this in servicestack way?
/api/schools.json?skip=0&take=10&LikeName=%E9%9D%92%E5%B2%9B%E5%B8%82
ServiceStack accesses the QueryString using ASP.NET HttpRequest class so it should be sent the same way as it would for any other ASP.NET Web Application.
now, i’m use UrlDecode to handle it in GlobalRequestFilters.
HttpContext.Current.Server.UrlDecode
but what should i do next?
add extra param to req?? or forwarding to other request???
Firstly I don’t know why you’re having to decode it, accessing it from the QueryString should already have decoded it.
Do next for what? what are you talking about? you already have the variable.
hi, again.
sorry for this question, i checked source code again and again.
found there is two encodeURIComponent() applied to param.