Using Http Post on Windowsphone 81. (C#)

1 post / 0 new
#1 Thu, 16 Jul 2015 12:11
Anonymous (not verified)

Using Http Post on Windowsphone 81. (C#)

Hello,
since i cant use the .dll Files on Windowsphone 8.1. I tried to get things done via the HttpClient and do a Http Post.
But since I´m not very familiar with this topic i tried something like this:


HttpClient client = new HttpClient();
HttpContent content = new StringContent("Username=Username&Password=Password&FaxNumber=Somenumber&Data=ThisIsATest&FileType=TXT");
client.PostAsync(new Uri("http://ws.interfax.net/dfs.asmx?WSDL&"), content);

But this doesn`t work at all.
I already browsed nearly all the Sample Codes but i don`t have any clue to accomplish my task (sending Fax and get the Status of it)

Hope someone could help me.

thnx

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today