Is there a method to determine on the API side whether a XMLHttpRequest is coming from my own web application (i.e. the JavaScript I developed) or from a third-party application?
The issue appears to be that since the JavaScript runs on the client side and is accessible to anyone, there is no way to covertly identify to the API server which requests are being made by me. This identification can be beneficial in order to prioritize requests from my own application over those from third-party clients during times of high traffic.
One option could be sending undisclosed parameters, but these can easily be faked.
Anyone have any brainstorming ideas?