Skip to content

Create person collection on appdb database

Luiz Carlos Faria edited this page Mar 13, 2018 · 1 revision

Create person collection on appdb database

Request

curl -i -X PUT \
   -H "Authorization:Basic YWRtaW46YWRtaW4=" \
   -H "Content-Type:application/json" \
   -d \
'{
  "desc" :"Persons in my app"
}' \
 'http://localhost:10080/appdb/person'

Response

201 - Created