truckstop/broker/testdata/fastexact_login.sh

13 lines
521 B
Bash

#! /bin/bash
curl -i -Ss \
'https://www.fastexact.com/secure/index.php?page=userLogin' \
-X POST \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-raw 'user_name=birdman&user_password=166647&buttonSubmit=Login' \