Skip to content

Instantly share code, notes, and snippets.

@ans-4175
Created October 4, 2021 04:39
Show Gist options
  • Save ans-4175/758a338e2f7a9f02f278ef88e67d587e to your computer and use it in GitHub Desktop.
Save ans-4175/758a338e2f7a9f02f278ef88e67d587e to your computer and use it in GitHub Desktop.
Talenta ClockIn
#!/bin/bash
wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--server-response \
--header 'Cookie: PHPSESSID=<value_from_web_cookies>' \
--body-data 'latitude=YGLhZGpjZmL1AwLlAGD2Amx1&longitude=ZGN2YwtlAQRkAmp4ZGxlAQLk&status=checkin&description=hi from Indonesia' \
'https://hr.talenta.co/api/web/live-attendance/request' 2>&1 | grep "HTTP/1.1"
# run with `sh talenta-in.sh`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment