HTTP · Inspect requests with curl

Test conditional caching

Send an ETag and check for a 304 response.

curl -i -H 'If-None-Match: "33a64df551425fcc55e4d42a148795d9f25f89d4"' https://example.com/data.json

Official HTTP documentation

More inspect requests with curl commands

All inspect requests with curl commands · HTTP cheatsheet

Was this page helpful?