gchq / gchq/CyberChef-server

Include "value only" flag for `bake`

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
179
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Currently when you POST to `/bake` it returns a type and a value. If someone wanted to write the converted input to file, they would need to do some post-processing to extract the value from the returned data.

There could be a `valuesOnly` flag or property that the user could set, and then only the value would be returned.

**Describe the solution you'd like**
if `valuesOnly` is truthy
return body only contains dish.value
`outputType` is still honoured

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.