Encode password when submitting to the API #38

Closed
opened 2025-09-29 09:16:39 +02:00 by jriou · 0 comments
Owner

In order to access a password protected note via the API, a password body parameter must be passed in a JSON document. Unfortunately, some reserved characters must be escaped like double quotes. Like the content of the note, require the password to be base64 encoded (pretty much like the basic auth).

In order to access a password protected note via the API, a `password` body parameter must be passed in a JSON document. Unfortunately, some reserved characters must be escaped like double quotes. Like the content of the note, require the password to be base64 encoded (pretty much like the basic auth).
jriou self-assigned this 2025-10-01 18:14:03 +02:00
jriou referenced this issue from a commit 2025-10-02 07:07:34 +02:00
jriou closed this issue 2025-10-02 07:07:34 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jriou/coller#38
No description provided.