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

Allow value only responses via API with ?raw #23

Open
tmaiaroto opened this issue Jun 1, 2016 · 0 comments
Open

Allow value only responses via API with ?raw #23

tmaiaroto opened this issue Jun 1, 2016 · 0 comments

Comments

@tmaiaroto
Copy link
Owner

It would be convenient if the API returned just the key value when ?raw querystring was added to the URL. This would be very convenient for binary data if the Content-Type could be figured out...But for the time being this might make it more convenient to work with discfg within an application.

For example, what if someone didn't want to use JSON? Now the response could be plain text parsed in whichever way necessary. Maybe it's YAML or TOML, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant