I have parameters in my request
[OperationContract]
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "request?code={codeParam}&name={nameParam}&id={idParam}")]
List<ResponseData> JSONDataList(string codeParam , string nameParam , string idParam);
So I have codeParam
, nameParam
and idParam
.
What if the Uri will be "request?name=myName&BlaBlaParam=example"
?
How I can catch this undefined BlaBlaParam
param from request in my code?
Service works OK with no exceptions.