I want to just get a statusCode from CURL command response.
When I use this command:
curl -I http://uploadserver.ln/1.mp4
I want to just get 200 rather than this long result:
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Sun, 01 Jul 2018 12:47:02 GMT
Content-Type: video/mp4
Content-Length: 1055736
Last-Modified: Sat, 30 Jun 2018 07:58:25 GMT
Connection: keep-alive
ETag: "5b373821-101bf8"
Accept-Ranges: bytes
Can anyone help me?