API Endpoints
HTTP Method : POST
Content :
{
"data" : "hello world"
}
Response :
{
"status": 1
}
HTTP Method : GET
Content :
{
"data" : "hello"
}
Response :
{
"docs": [
[
1,
0,
"hello world"
]
]
}
Note : 1 is the frequency and 0 is the id assigned to the document
HTTP Method : GET
Response :
{
"info": "All the indexes has been cleared."
}
HTTP Method : GET
Response :
{
"docs": [
[
0,
"hello world"
]
]
}