chort ↙️↙️↙️ on Nostr: you mean a shell variable? like export DOMAIN=example.com && curl -I http://${DOMAIN} ...
you mean a shell variable? like export DOMAIN=example.com && curl -I
http://${DOMAIN}Make sure not to use single quotes around the URL, otherwise it becomes a literal.
Published at
2024-04-15 18:56:31Event JSON
{
"id": "5ad64811d1506e24cd0dbc4d801a4623bb4ba9ee9c00ff9077654cf55cf4df52",
"pubkey": "b823a122a2d38c09d8fb29ab750043c3ba2ea330c2c1b1426c376b08d1b6630b",
"created_at": 1713207391,
"kind": 1,
"tags": [
[
"e",
"58122d7d7c68bf4bba1ba95e1a1aa4437639a1903e88a8ceb68ae93f979d4d6d",
"",
"root"
],
[
"p",
"84e5f1fa8082ed385188e920c4cd2b6af608c2466f9dc1a1fdd23b879061b94e"
],
[
"proxy",
"https://infosec.exchange/users/chort/statuses/112276759619493073",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://infosec.exchange/users/chort/statuses/112276759619493073",
"pink.momostr"
]
],
"content": "you mean a shell variable? like export DOMAIN=example.com \u0026\u0026 curl -I http://${DOMAIN}\n\nMake sure not to use single quotes around the URL, otherwise it becomes a literal.",
"sig": "841e473050f329ccededd0800c5b75ce727c6aa46d2af1171be9c547d3a03724db007c1d0e07c38a719244adc717c344d782a2b6a9b5a5567ba087b90cb2c144"
}