The first message ever. So better do it good.
I have an ASP.NET MVC 2 web application in which I have actionResult, I need to call me.
What I need is AR to handle some data operations, and after that I need it to call an external URL, which is actually a corporate module that processes sending messages to our company phones.
You just need to call the url that looks like this:
string url = "http://x.x.x.x/cgi-bin/npcgi?no=" + phoneNumber + "&msg=" + message;
I do not need any return message or anything else. I just want to name this external URL, which, of course, goes beyond the scope of my own web application. (I do not want to redirect). This URL should be invoked behind the graphical interface without the possibility ever realized by the user. And the page they are viewing should not be affected.
I tried:
Server.Execute(url);
However, it did not work out. I heard some ppl go about this having a hidden iFrame on the page. Installing src on the url may be necessary, and then somehow do this to get the call. For me, this does not seem so elegant, but if this is the only solution, someone has an example of how this is done. Or, if you have a smoother sentence, I'm all ears.