Skip to content

Instantly share code, notes, and snippets.

@absyah
Created September 5, 2019 03:39
Show Gist options
  • Save absyah/cb40eed7fe86f1a1b3bfbfa4b1ebe566 to your computer and use it in GitHub Desktop.
Save absyah/cb40eed7fe86f1a1b3bfbfa4b1ebe566 to your computer and use it in GitHub Desktop.
curl with measures
curl -H "User-Agent: Forstok-System" -H "Authorization: Bearer MmxH1sWGSeuqvbtP2N3NRg" -H "Content-type: application/json" "https://fs.tokopedia.net/v1/order/list?fs_id=13025&from_date=1564974483&to_date=1567739283&page=1&per_page=25&shop_id=2512187" -w "@curl-format" -o /dev/null -s
\n
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment