Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Enter username: "
- read USERN
- echo "Enter password: "
- read -s PASSW
- curl -s \
- -H "Accept: application/json" -H "Content-Type: application/json" \
- -H "User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0" \
- -X POST https://share1.dexcom.com/ShareWebServices/Services/General/LoginPublisherAccountByName \
- -d '{"accountName":"'$USERN'","applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password":'$PASSW'}'| tr -d '"' > init.ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement