## looping curl
while true; do sleep 1; curl -s -f http://localhost:3031/healthcheck || exit 1;done

### get header
curl -X HEAD -I https://detik.com
curl -s -D - -o /dev/null  --http2 https://detik.com

### lyrics
curl -s --get "https://makeitpersonal.co/lyrics" --data-urlencode "artist=$artist" --data-urlencode "title=$title"

### load balancer curl
curl --http2 --resolve tokopakedi.com:443:13.10.10.10 https://tokopakedi.com >/dev/null 2>&1

### curl check http2
curl -sI https://curl.se -o/dev/null -w '%{http_version}\n'

### act like browser
curl -v -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" \
  -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" \
  -H "Accept-Language: en-US,en;q=0.5" \
  -H "Accept-Encoding: gzip, deflate, br" \
  -H "Connection: keep-alive" \
  -H "Upgrade-Insecure-Requests: 1" \
  -H "Sec-Fetch-Dest: document" \
  -H "Sec-Fetch-Mode: navigate" \
  -H "Sec-Fetch-Site: none" \
  -H "Sec-Fetch-User: ?1" \
  -H "Cache-Control: max-age=0" \
  -H "TE: trailers" \
  --compressed \
  "https://ipang.my.id/"