wcf - REST service does not get POST payload -


i have big problem. created wcf service.my post declaration looks this:

[operationcontract] [webinvoke(uritemplate = "json/put",             method = "post",             bodystyle = webmessagebodystyle.wrapped,             requestformat = webmessageformat.json,             responseformat = webmessageformat.json)] string putdata(string jsontext); 

i expecting when i'm sending data (i'm using fiddler2 test it) automaticly "put" jsontext variable. service works, there no data :(.

can help? the whole project

wcf expects json payload deserialized type. try creating class shaped json payload , use parameter type.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -