Apocl.load xml,json,csv

Hi there,
is there a possibility to call apoc.load.xml / apocl.load.json with http(s) post method?

regards
Thomas

certainly apoc.load.json supports https:// as I've done it and as described at

Hi dana,
well, not only https. get
but also other methods of http(s) like http(s) post http(s) put ... etc

see

actualy some sites do provide their data in form of post requests, this is due to the limitations of parameters in http get scenarios.
regards
Thomas

ah sorry. misread the part about POST . let me further research

You can use apoc.load.jsonParams(url, config, payload) and pass {method:"POST"} in the config.

see this example

call apoc.load.jsonParams("https://neo4j.com/docs/search/", {method:"POST"},apoc.convert.toJson({query:"pagecache",version:"3.5"}))

1 Like

Hello Michael,
thank you for the reply. Great to hear.

thumbs up!

Thanks
Thomas