couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Gable <zi...@ignition-project.com>
Subject Re: Clearing a database.
Date Tue, 06 Nov 2012 04:35:01 GMT
You have to specify the revision you have to delete though.

DELETE /db/doc?rev=blah

DELETE /db, PUT /db should work


---
Keith Gable
A+ Certified Professional
Network+ Certified Professional
Storage+ Certified Professional
Mobile Application Developer / Web Developer



On Mon, Nov 5, 2012 at 10:22 PM, Dustin Sallings <dustin@spy.net> wrote:

> "Kevin Burton" <rkevinburton@charter.net>
> writes:
>
> > Something like
> >
> > curl -X PUT http://127.0.0.1:5984/baseball would create a "baseball"
> > database. Would curl -X DELETE http://127.0.0.1:5984/baseball remove it?
>
>   What did it do when you tried it?  :)
>
> --
> dustin
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message