Last post Jan 09, 2019 08:20 AM by Yohann Lu
Jan 03, 2019 07:02 AM|Guhananth|LINK
Jan 04, 2019 06:34 AM|Yohann Lu|LINK
Given a url and xml string in a file or xml string <br>
Xml string in a textbox.<br>
i want to write<br>
Put or patch method<br>
We can not understand your question clearly. You may can give us a detailed information steps by steps.
If you have make a test on your side, please include all necessary code snippets for anyone else to be able to reproduce your issue from scratch along with a detailed description about the results including any exception messages.
Besides, if you want to pass a xml data to your Web API, You can use the following code to accept XML and retrieve the raw data.
public string ReturnXmlDocument(HttpRequestMessage request)
var doc = new XmlDocument();
For more detailed, please refer the following post solution:
How to post a xml value to web api?
Jan 09, 2019 01:59 AM|Guhananth|LINK
Jan 09, 2019 08:20 AM|Yohann Lu|LINK
Using Get,post,put,patch,head,options how to consume web api using xml string input
Please show us all necessary code snippets you have made a test on your side, and describe clearly which issue you have faced.
Besides, a running demo which can reproduce your issue is very important if necessary.