Thanks for the help,
nawroth suggested that this is because there are new lines inside the
Cypher statement which is in quotes. My subsequent testing demonstrates
that is true. The REST JSON parser probably terminates when it hits a
newline. The other examples I tried before that worked were
Lasse, the problem is that the statement doesn't break even if you pass an
erroneous URL which normally causes Cypher to report an error.
On Fri, Sep 19, 2014 at 4:38 PM, Lasse Westh-Nielsen <
lasse.westh-niel...@neotechnology.com> wrote:
> Daniel,
>
> Try adding a return statement. The load csv
So please check the quotes you use around the URL, I had to double escape
them. Or you use single quotes w/o escaping.
On Fri, Sep 19, 2014 at 4:40 PM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:
> Hi Daniel, seems to depend on the escaping of the quotes but definitely
> weird.
> It
Hi Daniel, seems to depend on the escaping of the quotes but definitely
weird.
It's afaik not related to Cypher but the streaming JSON parser before it. I
think it somehow concludes that it parsed the input correctly but without
any output
e.g. here I get the same as you
curl -XPOST -i -H accept:
Daniel,
Try adding a return statement. The load csv example doesn;t have a return
statement.
I can;t rule out that the browser tries to be extra user friendly and adds
some helpful return statement for you...
If you do load csv and then inspect the database with a regular query, do
you see the d
Continuing to try things...I am now using "Advanced REST Client" - a
chrome application. I am using the example from the LOAD CSV
Documentation, along with the REST transaction commit example.
Here is a screen shot, showing my settings for the REST call, along with
the payload and the res
To add more information:
I'm doing this using WebAPI from a C# application. It seems to work fine
for any valid cypher query that doesn't include LOAD CSV as a part of it.
I'm calling it using "localhost:7474/db/data/transaction/commit" so it
should commit within the one call.
For example t