I have created my website in Umbraco, it is working nicely, but it needs some improvements.
So, I have a question:
I have a jQuery function that calls the web server and returns some data to my user, it is working well. But now I would like hidden this in my front end.
My co-worker suggested me to create a code behind, that will call my function without it appears on the front end.
Calling jQuery function with code behind
Hi everyone.
I have created my website in Umbraco, it is working nicely, but it needs some improvements.
So, I have a question:
I have a jQuery function that calls the web server and returns some data to my user, it is working well. But now I would like hidden this in my front end.
My co-worker suggested me to create a code behind, that will call my function without it appears on the front end.
Is it possible?
If yes: How can I proceed?
Hi Leonardo Moura,
You can make a call via WebRequest on a SurfaceController or RenderMvcController
https://www.codeproject.com/Articles/6554/How-to-use-HttpWebRequest-and-HttpWebResponse-in-N
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-request-data-using-the-webrequest-class
is working on a reply...