Sunday, 14 May 2017

NodeJS detect either the client(mobile) is a browser or an application?

I have developed a simple REST api using NODE and EXPRESS. And I already have a web-app(browser) and a native mobile application. Now I need to check if the incoming request is from web-browser or from native application.

I have successfully detected the device for incoming request coming from browser via USER-AGENT.



via Prataksha

No comments:

Post a Comment