7 lines
319 B
Bash
7 lines
319 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
echo "=== Testing 401 Request Speed ==="
|
||
|
|
curl -X POST "https://api.mathpix.com/v3/text" \
|
||
|
|
-H "Content-Type: application/json" \
|
||
|
|
--data '{}' \
|
||
|
|
-w "\n\n=== Timing ===\nHTTP Status: %{http_code}\nTotal: %{time_total}s\nConnect: %{time_connect}s\nDNS: %{time_namelookup}s\nTTFB: %{time_starttransfer}s\n"
|