mattn on Nostr: I set this JSON with base64 encoding like: header("Authorization", "Nostr " + ...
I set this JSON with base64 encoding like:
header("Authorization", "Nostr " + base64(jsonstring)
Published at
2024-07-05 08:56:18Event JSON
{
"id": "1fd516ced041f2be16610c71d8de7b9eee0a5bcabfaf85e3ae992bfbe55d8c5d",
"pubkey": "2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc",
"created_at": 1720169778,
"kind": 1,
"tags": [
[
"e",
"b0081b099b9455d8ebc0255376f0c2285c672f7e981c392c34364c10134d3113",
"",
"root"
],
[
"e",
"78357c1d6d5d76661e5a65a4e4e7e0b3e3d940a03e1dbf340f29750bbc687e8f",
"",
"reply"
],
[
"p",
"2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc"
],
[
"p",
"8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c"
],
[
"p",
"b3e43e8cc7e6dff23a33d9213a3e912d895b1c3e4250240e0c99dbefe3068b5f"
]
],
"content": "I set this JSON with base64 encoding like:\n\nheader(\"Authorization\", \"Nostr \" + base64(jsonstring)",
"sig": "577a558f7166d377b1876722ea23c092bd0928af480014f4227e59fa8900057cc98837c4740c1ae505b3f5fa3401c77d145cbad79c66b2084325f2b44307288c"
}