Get the Device from which the web request came
Hi Team,
I am creating an API POST method to which the Web Requests will come. I want to identify that from which device (Mobile, Tablet, Laptop, Ipad etc) the request came.
Let me know if you need more details from me regarding the question.
You should do that on a client (JS) side and send device info as a part of your POST request.
UserAgent can be retrieved from:
and you can try to map that to device.