nossl.sh

curl my headers

curl my headers

One curl call returns structured JSON with your IPs, headers, and connection scheme for quick debugging.

Live snapshot

Connection report

IP address

🇺🇸 United States

🌐 Protocol
HTTP/1.0 · HTTP (no TLS)
📡 Ping
Measuring…
🧾 Headers captured
8
🕒 Generated
2025-12-22 11:03:44 UTC

Headers

Request headers

8 headers

Grab headers from the CLI

Use the API endpoint to see exactly what your client transmits, including user agent, languages, and forwarded values.

  • curl -H "Accept: application/json" http://nossl.sh/api/request-info
  • Includes IPv4, IPv6 when available, and scheme info.
  • Sorted headers make diffs easy when comparing runs.

Ideal for proxy and VPN checks

Run the command before and after toggling VPNs or split tunnel configs to see how headers change.

  • No caching—every call is fresh.
  • Use jq to script assertions against specific headers.
  • Plain HTTP keeps the request usable on captive portals.

Can I get plain text instead?

Yes. curl http://nossl.sh returns just the IPv4 address, and curl http://v6.nossl.sh returns IPv6 when present.

Does the JSON include geo?

When available, the API returns basic geo hints like country and organization alongside your headers.

Quick steps to trigger captive portals

Apple captive portal check

Open the official Apple CNA page to force the captive assistant on iOS and macOS devices.

Open Apple captive portal

Android captive portal check

Use the Android connectivity check URL that devices call before presenting the portal dialog.

Open Android captive portal