Closed Timothyoverton closed 8 years ago
Thank for contributing @Timothyoverton, but I really don't understand the use case for this. Can you explain it?
As far as I can see, you could simply have used something like this:
FErrorMessage := RestClient.Resource(restUrl)
.Accept(RestUtils.MediaType_Json)
.ContentType(RestUtils.MediaType_Json)
.Post<string>(MergeDto);
In your code you are not using the first generic param <T>
anywhere.
Hi Roberto,
I did receive a Marshalling error when I first tried post
Thanks
For my API, I'm returning a string with important information.
With this change I can do the following: