jexp / neo4j-clean-remote-db-addon

A server extension that allows cleaning the db with a single rest call (use with care)
55 stars 7 forks source link

error 405 - Method not allowed when attempting to clear db #10

Open sjnester opened 12 years ago

sjnester commented 12 years ago

Hi - new to neo4j and even relatively new to using Git so forgive me if this is a dumb problem.

I am using Neo4J Community 1.8.M06. I installed the JAR test-delete-db-extension-1.8.jar, and modified my server config as follows:

org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.test.delete=/db/data/cleandb org.neo4j.server.thirdparty.delete.key=wipeout

I restarted the server to pick up the config changes and there were no errors in the log.

When using the following url: http://localhost:7474/db/data/cleandb/wipeout I get an error 405 - Not allowed.

I am using Windows 7 and both IE9 and Firefox (same failure in both) - could this be some overprotective admin permissions issue?

Thanks, Steve Nester

jexp commented 12 years ago

Did you issue a DELETE request? not put,get, post ?

sjnester commented 12 years ago

Thanks for the quick response.  As I suggested, it was a dumb question - I did this via a browser since I am working on Windows with no easy solution like curl, and of course the browser issued a GET request.  Sorry to bug you with a simple issue but hopefully my question will serve as an answer to other newbies.

Thanks again,

Steve

----- Original Message -----

From: "Michael Hunger" notifications@github.com To: "jexp/neo4j-clean-remote-db-addon" neo4j-clean-remote-db-addon@noreply.github.com Cc: "Steve Nester" snester13456@comcast.net Sent: Wednesday, September 5, 2012 6:32:36 PM Subject: Re: [neo4j-clean-remote-db-addon] error 405 - Method not allowed when attempting to clear db (#10)

Did you issue a DELETE request? not put,get, post ?

— Reply to this email directly or view it on GitHub .