1 Commits

Author SHA1 Message Date
Bonnie I-Man Ng
6a12e9ce06 Revert "Use curl for http status code and reveal a shortened url" 2020-09-08 13:29:55 +08:00

View File

@@ -2488,16 +2488,6 @@ curl -I http://example.com/
# Vary: Accept-Encoding
```
##### Find out the http status code of a URL
```bash
curl -s -o /dev/null -w "%{http_code}" https://www.google.com
```
##### Unshorten a shortended URL
```bash
curl -s -o /dev/null -w "%{redirect_url}" https://bit.ly/34EFwWC
```
##### Perform network throughput tests
```bash
# server side: