couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: view_cleanup error
Date Fri, 30 Sep 2011 14:05:38 GMT
Add;

-Hcontent-type:application/json

B.

On 30 September 2011 14:45, bryan rasmussen <rasmussen.bryan@gmail.com> wrote:
> Hi,
>
> I do the following:
>
> curl -X POST http://127.0.0.1:5984/dbname/_view_cleanup
>
> And I get back
> {"error":"bad_request","reason":"Content-type must be application/json"}
>
> I thought maybe it had to be that _view was actually the name of my
> view that I wanted to cleanup
> so _myview_cleanup
>
> unfortunately that raised an error that Referer header required...
>
> how do I cleanup my views.
>

Mime
View raw message