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
Post a Comment