I have this POST method in one of my resources:
[WebInvoke(Method = "POST", UriTemplate = "")]
public HttpResponseMessage<TokenResponse> Login(TokenRequest tokenRequest)
This was working fine until I added a DateTime property to the TokenRequest class. I tried using the Json,NET processor by doing:
var config = HttpHostConfiguration.Create()
And had no luck... still getting "The server encountered an error processing the request. See server logs for more details."
Is this not supported? Should I use JsonValue instead when I need to post/put non primitive types? I'm using JsonObject and JsonValue for other resources with dynamic content, but I really liked to use the strong type alternative for some of my well-known