gemlog-cli/bruno/Gemlog/Update Gemlog.bru

33 lines
539 B
Text

meta {
name: Update Gemlog
type: http
seq: 4
}
put {
url: http://eisenhorn:5023/gemlog/d198245cbc0d67891f3d3d6dc301c242?rev=2-e997af4bb2b1b18ce224ebcb46d145dc
body: json
auth: basic
}
params:query {
rev: 2-e997af4bb2b1b18ce224ebcb46d145dc
}
auth:basic {
username: gemlog-cli
password: {{pw}}
}
body:json {
{
"title": "Bruno Test Updated",
"slug": "bruno-test",
"date": "2025-09-30T21:04:45.092Z",
"gemtxt": "this is a test\n\nfrom bruno\nwith someupdated data"
}
}
settings {
encodeUrl: true
}