Abstract


curl -I <ENDPOINT>
  • Set HTTP Header with curl
curl -H "ngrok-skip-browser-warning: anyValue" <ENDPOINT>

Content-Type

  • Tells the Client the type of the Network Object, so they can be better rendered
  • With the below info, the browser is able to open an in-browser pdf reader
content-type: application/pdf

Cache-Control

  • Tells the Client how long it can use the cached copy of the resources (can be css and js files etc) before it fetches a new copy from Server
cache-control: public, max-age=7200, must-revalidate