Add; -Hcontent-type:application/json
B. On 30 September 2011 14:45, bryan rasmussen <[email protected]> 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. >
