Answer the question
In order to leave comments, you need to log in
How to make a Get/Post request via websocket in the Action method on the server?
How to make a Get/Post request in the Action method without Redirect, i.e. so that the user does not see the data from which site (hide access to a third-party resource). Use the server as a proxy
private HttpStatusCodeResult Click(int out_id)
{
/*Как здесь сделать get запрос
Redirect("http://ip_adress/ok?" + out_id);
return HttpStatusCodeResult;
*/
}
Answer the question
In order to leave comments, you need to log in
seems to fit, did this:
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create("http://ya.ru" );//+ out_id);
myReq.GetResponse();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question