[GH-ISSUE #182] Curl command #137

Closed
opened 2026-03-02 11:47:00 +03:00 by kerem · 2 comments
Owner

Originally created by @jcrabapple on GitHub (May 27, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/182

How would I use curl to create a bookmark?

Originally created by @jcrabapple on GitHub (May 27, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/182 How would I use curl to create a bookmark?
kerem closed this issue 2026-03-02 11:47:01 +03:00
Author
Owner

@MohamedBassem commented on GitHub (May 27, 2024):

The REST API is currently planned, for now you can do:

curl -XPOST -H 'Authorization: Bearer <API_KEY>'  <ADDR>/api/trpc/bookmarks.createBookmark --json '{"json": {"type": "link", "url": "https://google.com"}}'
<!-- gh-comment-id:2132822631 --> @MohamedBassem commented on GitHub (May 27, 2024): The REST API is currently planned, for now you can do: ``` curl -XPOST -H 'Authorization: Bearer <API_KEY>' <ADDR>/api/trpc/bookmarks.createBookmark --json '{"json": {"type": "link", "url": "https://google.com"}}' ```
Author
Owner

@MohamedBassem commented on GitHub (Jun 1, 2024):

Will close it now and you can reopen if this doesn't answer your question

<!-- gh-comment-id:2143273763 --> @MohamedBassem commented on GitHub (Jun 1, 2024): Will close it now and you can reopen if this doesn't answer your question
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
starred/karakeep#137
No description provided.