[WORKING] Attendance with Biometric Integration through API

It’s possible. You can use frappe.publish_realtime() to show pop-up or page when the endpoint gets called.

refer:

Concerns :

@frappe.whitelist(allow_guest=True) will allow you to bypass Authorization but it’s a little bit insecure as anyone could send data to this method You cannot configure anything about headers?

https://discuss.frappe.io/t/doubt-in-rest-api/44/10?u=revant

what it means is, if your employee or student knows to make a post request with right parameters to the whitlisted endpoint, they can bypass bio-metric device and make a post request directly.

Workaround:
restrict request from specific IP(s)
https://discuss.frappe.io/t/doubt-in-rest-api/44/15?u=revant
Not as secure if someone manages to spoof IP