Jonathan Matthews on Nostr: Anyone know if it's possible to get #curl to read a #netrc file and pick up a bearer ...
Anyone know if it's possible to get #curl to read a #netrc file and pick up a bearer token? I.e. *not* to discover a username and password, and munge them into a Basic Auth header, but to use a value verbatim from the file ...
Published at
2024-05-24 13:48:02Event JSON
{
"id": "1dfd685d8b3ad37012794bbfd9c7a1fd0f21df8d2cfc7ef3364eddf11072f730",
"pubkey": "e374e615290925e61770994fb04b74d0c4d0750e0a187ade61717f7476d90db4",
"created_at": 1716558482,
"kind": 1,
"tags": [
[
"t",
"curl"
],
[
"t",
"netrc"
],
[
"proxy",
"https://fosstodon.org/users/jonathanmatthews/statuses/112496376698016649",
"activitypub"
]
],
"content": "Anyone know if it's possible to get #curl to read a #netrc file and pick up a bearer token? I.e. *not* to discover a username and password, and munge them into a Basic Auth header, but to use a value verbatim from the file ...",
"sig": "415eb16c430ace32e4c885a8aa3712d01ccf1ae7853cb3ee2f76ffacaaaadea660e4d2474b6fec8eb420727ba3d1086e71ebe6ad514006965ee6592c023e74e0"
}