Skip to content

Conversation

adam-cowley
Copy link
Contributor

Gives the ability to provide a map of HTTP headers on the config property for HTTP requests.

WITH { `X-API-KEY`: 'abc123' } as headers,
WITH "https://myapi.com/api/v1/" AS url
CALL apoc.load.xml(url, '', { headers: headers }) YIELD value
UNWIND keys(value) AS key
RETURN key, apoc.meta.type(value[key]);

@jexp jexp merged commit 58d6ff8 into neo4j-contrib:3.4 Jun 21, 2018
@jexp
Copy link
Member

jexp commented Jun 21, 2018

Thanks a lot Adam!

jexp pushed a commit that referenced this pull request Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants