mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
ETAPI auth, spec improvements etc.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
POST {{triliumHost}}/etapi/create-note
|
||||
Authorization: {{authToken}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -14,6 +15,7 @@ Content-Type: application/json
|
||||
###
|
||||
|
||||
PUT {{triliumHost}}/etapi/notes/{{createdNoteId}}/content
|
||||
Authorization: {{authToken}}
|
||||
Content-Type: text/plain
|
||||
|
||||
Changed content
|
||||
@@ -21,5 +23,6 @@ Changed content
|
||||
###
|
||||
|
||||
GET {{triliumHost}}/etapi/notes/{{createdNoteId}}/content
|
||||
Authorization: {{authToken}}
|
||||
|
||||
> {% client.assert(response.body === "Changed content"); %}
|
||||
|
||||
Reference in New Issue
Block a user