danielcrenna/hammock — Issue #67: AddPostContent does not add content to POST Body .Net40
Author: sgordonson
Created: 2012-02-16 22:42:32+00:00
State: open

AddPostContent does not add content to POST Body,

I found by stepping through the code the Serializer is not initialized so the call from SerializeEntityBody returns null

both the request.Serializer and the Serializer are null in GetSerializer()

SetQueryMeta(....)
SerializeEntityBody(RestRequest request)

private ISerializer GetSerializer(RestBase request)
{
return request.Serializer ?? Serializer;
}

Do I have to initialize this?
How do I do that?

I am working with the latest code available