Event JSON
{
"id": "7ec5a30d382c1ca5f445949b3b67ad191113b370fb5408ca1cc47fea378c14a2",
"pubkey": "eed81ff5e26fc47e5af6c83323a2f606882a0435c9c1938efcdc69e6cbc96ca4",
"created_at": 1721913339,
"kind": 1,
"tags": [
[
"p",
"9c031ba3d4464f56ce895aff6098269c9ed4ff45f2a256ac82aca11db5ca97fe"
],
[
"e",
"59c965cb6ad3064cee088fb3f52483a704b3a9327cd3dccf4e9256a0a6b7a0e8",
"",
"reply"
],
[
"e",
"c2615b9b97b2b27f64fc7cf96639a7f6bdf68c2fc13914fc0c7fd564420b6d05",
"",
"root"
],
[
"proxy",
"https://file-explorers.club/@ezarowny/112847312642921822",
"web"
],
[
"p",
"348bd19c0ba16b15596580f481fc9823bdcd7fcd732fb2e0a3000062baea25ae"
],
[
"proxy",
"https://file-explorers.club/users/ezarowny/statuses/112847312642921822",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://file-explorers.club/users/ezarowny/statuses/112847312642921822",
"pink.momostr"
],
[
"-"
]
],
"content": "I haven’t yet found a pattern I like when it comes to handling both the GET and POST sides of forms with HTMX. I usually want the form and its necessary context to be rendered with the initial GET request to a view. The POST (and returning errors from the POST) is often a separate view especially if there are multiple forms on a page.",
"sig": "20b7437fddead70b502f5401a13166f6f14e4557ae1819e26ed417d0ddc51a6a4bab134666a9267088b4b7c15eaf89f13580da49f3a8b540060ba5ebe6873460"
}