st justin :debian: on Nostr: Is there a way to echo a variable into a #curl url? I want to use "curl -I " so I can ...
Is there a way to echo a variable into a #curl url?
I want to use "curl -I
http://$target_domain"; so I can get the file size...
Published at
2024-04-15 18:49:44Event JSON
{
"id": "58122d7d7c68bf4bba1ba95e1a1aa4437639a1903e88a8ceb68ae93f979d4d6d",
"pubkey": "84e5f1fa8082ed385188e920c4cd2b6af608c2466f9dc1a1fdd23b879061b94e",
"created_at": 1713206984,
"kind": 1,
"tags": [
[
"t",
"curl"
],
[
"proxy",
"https://infosec.exchange/users/jgmitchell303/statuses/112276732943988790",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://infosec.exchange/users/jgmitchell303/statuses/112276732943988790",
"pink.momostr"
]
],
"content": "Is there a way to echo a variable into a #curl url?\n\nI want to use \"curl -I http://$target_domain\" so I can get the file size...",
"sig": "3214bf123d51b63204f6a54adf5994518ca8c96305590ef47c27bf6419c383227b5b0b84aa736c1067e282e20c4dbe138d883b5277aa39b57f44f0f3b17321af"
}