You can use System.Net.WebClient class to make an http request.
System.Net.WebClient client = new System.Net.WebClient();
client.Headers.Add("content-type", "application/json");//set your header here, you can add multiple headers
string s = Encoding.ASCII.GetString(client.UploadData("http://localhost:1111/Service.svc/SignIn", "POST", Encoding.Default.GetBytes("{"EmailId": "admin@admin.com","Password": "pass#123"}")));
There are also other methods which can be used, but that depends on your requirements. You can find more details here
from MSDN.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…