Skip to content

cycberX/fe-project

Repository files navigation

Get all Collection Data Method:GET

{
  "info": {
    "method": "GET",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  }
}

Post Data in collections Method:POST

{
  "info": {
    "method": "POST",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  },
  "data":{
    "name": "sanskar",
    "age": "18"
  }
}

Find One Data GET

{
  "info": {
    "method": "GET",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  },
  "query":{
    "id":1       //place any value
  }
}

Find One Data PUT

{
  "info": {
    "method": "PUT",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  },
  "query":{
    "id":"1"
  },
  "data":{
    "name": "sanskar",
    "collection_slug": "user",
    "age": "18"
  }
}

Patch/Update one data

{
  "info": {
    "method": "PATCH",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  },"query":{
    "id":1
  },
  "data":{
    "name": "sanskar",
    "collection_slug": "user",
    "age": "18"
  }
}

Delete one data

{
  "info": {
    "method": "DELETE",
    "clientToken": "1234",
    "appToken": "xyz",
    "collection": "user"
  },"query":{
    "id":1
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published