#! /bin/bash

login() {
curl 'https://ntgvision.com/api/v1/sts/Login' -X POST -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json;charset=utf-8' -H 'Origin: https://ntgvision.com' -H 'Connection: keep-alive' -H 'Cookie: _ga=GA1.2.638105752.1641827398; _gid=GA1.2.730578667.1641827398; cookiesession1=678A3E13IJKLMNOPQRSTUVWXYZAC7685' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw '{"username":"noeasyrunstrucking@gmail.com","password":"thumper123"}'
}

login_2() {
curl 'https://ntgvision.com/api/v1/sts/Login' \
   -X POST \
   -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0' \
   -H 'Accept: application/json, text/plain, */*' \
   -H 'Accept-Language: en-US,en;q=0.5' \
   -H 'Accept-Encoding: gzip, deflate, br' \
   -H 'Content-Type: application/json;charset=utf-8' \
   -H 'Origin: https://ntgvision.com' \
   -H 'Connection: keep-alive' \
   -H 'Sec-Fetch-Dest: empty' \
   -H 'Sec-Fetch-Mode: cors' \
   -H 'Sec-Fetch-Site: same-origin' \
   -d '{"username":"noeasyrunstrucking@gmail.com","password":"thumper123"}'
}

login_2
