Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only works if output is "pretty" #8

Open
binaryfire opened this issue Apr 10, 2021 · 0 comments
Open

Only works if output is "pretty" #8

binaryfire opened this issue Apr 10, 2021 · 0 comments

Comments

@binaryfire
Copy link

binaryfire commented Apr 10, 2021

Hi guys

Curl responses are usually returned without any linebreaks or spacing. This isn't a problem when using jq via the command line.

However this filter doesn't pick up on values unless the response is "prettified" first. I'm working around this by capturing the response in a variable and running it through jq eg: echo $RESPONSE | jq . This outputs a prettified response which the filter can work with.

This may also be related to #7. Perhaps the parsing methods used in the filter could be improved so they're more robust?

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

No branches or pull requests

1 participant