http - export neo4j data to JSON with cURL -


curl -b -j "content-type: application/json" -d '["quer y:"{"match n return n"}]' http://localhost:7474/db/data/ curl: (6) not resolve host: content-type

hello,

i want json from. curl , write local file. can other things it.

but when executing command not resolve content-type.

i've tried:

curl -b -j content-type: application/json' without double quotation mark ("")

but result

curl: (6) not resolve host: content-type curl: (6) not resolve host: application

now i've fixed syntax error

curl -b -j -d '["query:"{"match n return n"}]' http:// localhost:7474/db/data/ -o . % total % received % xferd average speed time time time current dload upload total spent left speed 100 28 0 0 100 28 0 13 0:00:02 0:00:02 --:--:-- 13

but no data:(

i had success with: curl -b -j -h "content-type: application/json" -d '{"query":"match n return n limit 10"}}' http://localhost:7474/db/data/cypher


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -