I have an API which is being used for both website and mobile native iOS application. Is there any way to know origin of request to API in php? That means I want to know from where particular resource is request from any browser or application. Additional information also needed like OS, version, browser etc.
That can be done manually by sending some additional information along with request data. But if there is any implicit method/way in php, could be better.