Script to send post request to api

can any one help me with a script that sends a post request to the erp next api when integrating with biometric devices. thanks