-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Wasn't able to figure out what syntax we need to remove the double encoding issue with {BASE} when concatenated in this way:
<api:setc attr="BASE" value="https://kg.diffbot.com/kg/v3/dql?token={auth}&query=type%3APerson" />
<api:check attr="_input.city_name">
<api:setc attr="URI" value="{BASE}%20location.city.name%3A%22{city_name}%22" />
</api:check>
Error in DataGrip looks like this.
[HY000] DATA_SOURCE https%3A%2F%2Fkg.diffbot.com%2Fkg%2Fv3%2Fdql%3Ftoken%3D%7Bauth%7D%26query%3Dtype%253APerson%20location.city.name%3A%22Atlanta%22 (No such file or directory) DATA_SOURCE https%3A%2F%2Fkg.diffbot.com%2Fkg%2Fv3%2Fdql%3Ftoken%3D%7Bauth%7D%26query%3Dtype%253APerson%20location.city.name%3A%22Atlanta%22 (No such file or directory)
You can see how the {BASE} string is getting encoded but we don't want it to. I'm not sure if the encoding is happening when it is initially set or when it is concatenated. There doesn't seem to be a difference between using api:setc or api:set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels