curl -X PUT http://127.0.0.1:5984/testdb/apple -H "Content-Type: application/json" -d {}
To view the output of a view:
http://localhost:5984/testdb/_design/people/_view/all
where:
testdb - database
people - view name
all - query
curl -X PUT http://127.0.0.1:5984/testdb/apple -H "Content-Type: application/json" -d {}
To view the output of a view:
http://localhost:5984/testdb/_design/people/_view/all
where:
testdb - database
people - view name
all - query