Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

How to send xml to web api action

$
0
0

please give me a sample of web api action where i like to send person data in xml format.

give me two sample code one is web api action which accept person data and one is httpclient which will send person data in xml format ?

do i need to set anything to accept header for sending xml data ?

please help me with sample code.


Viewing all articles
Browse latest Browse all 4850


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>