Nothing Special   »   [go: up one dir, main page]

Skip to content
Clint.Network edited this page Jan 29, 2020 · 6 revisions

Getting Started

Lucid is a REST HTTP API, you can easily, store, get or delete data, with his endpoints.

PUT /api/kv/:key - To store data (create and update)

You can post using this PUT method, raw data, JSON file, binary files, etc, the content type is analyzed from the bytes sent, and when you call GET

GET /api/kv/:key - To get data from his key

When you call this endpoint you get the previously stored (if the key exists) with the related content-type, if you store a JPG image and you get it, you will see the image directly in the browser

DELETE/api/kv/:key - To delete a data from his key

To delete an existing key it's pretty simple, just call this endpoint, if the key exists, it will be removed.

Clone this wiki locally