I'm using PostMan to re-send (Xml) content to a webAPI method. Unfortunately the Xml content is being truncated at the point where > is being specified in the string (the xml contains an attribute that has xml already url encoded)
I cannot change the format of the xml, as it's already in use from the application as I'm just pulling the value from a table in sql, and reposting it to the api for testing purposes. and I need to be able to pull the data as-is, and repost it to the api via PostMan with very little effort (I may have to do this repeatedly with different data).
The API signature is:
public HttpResponseMessage Put([FromBody]string userDataSetString, [FromUri(Name = "V")]string apiVersion)
And the data this is what I have in PostMan:
When I execute this against the API, the userDataSetString parameter has:
<Test Value="
Is there something I need to add to the header to allow it to cope with this?
No comments:
Post a Comment