curl --location --request POST 'http://localhost:5000/api/locker/command' \
--header 'Content-Type: application/json' \
--data-raw '{
"comPort": "COM2",
"hexCode": "81 01 06 50 06 C8 00 00 00 25 01 FA"
}'{
"success": true,
"message": "Command sent successfully",
"response": "81 01 03 51 06 00 5B 00 FA"
}