Post form without ajax in xml



Hi guys i'm working on MVC project. i need to POST xml without Ajax call? how i can to do that? How i can post that? but i need only xml request without ajax.



<getAll xmlns='http://1111.ru'><list>true</list></getAll>


i was trying:



$("<form action='@Url.Action("GetAllShepherds", "Actions")'" + " content='text/xml' " + "<<getAll xmlns='http://1111.ru'><list>true</list></getAll>" + " method='POST'>" +
+ "</form>").submit();

No comments:

Post a Comment