I'm new to this but I have a web page that is setup to receive a post with XML in the body. It's working correctly but a new request was made to add XML content to the HttpResponeseMessage 200,OK. I need to include "TRUE" in the body of the 200,OK response going back. I have tried to find an example that works but my inexperience is getting in the way. I was able to create a new POST and send the XML while playing around but I can't find anything that will work in the original POST. I hope I'm making sense in asking this question. Thank you in advance for any help you can lend.
public partial class WFRTPB : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var memstream = new MemoryStream();
Request.InputStream.Position = 0;
Request.InputStream.CopyTo(memstream);
memstream.Position = 0;
using (StreamReader reader = new StreamReader(memstream))
{
var text = reader.ReadToEnd();
// I do some processing here and then I need to send an
// XML "<TRANSUCCESS>TRUE</TRANSUCCESS>" in the body of the
// HttpResponseMessage 200,OK