Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Is there any way to restrict the ajax call when it's called by outside of the app, i am running a django app which calls the ajax when we go the index page and it's returning some json out. My problem is my app have to run the ajax call only when it's called from my webapp alone. If it's called from any other app or some manual script it have to show some error like "Wrong call" or something.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900