CyberChef-server
CyberChef-server copied to clipboard
add GET /bake for deeplink requests
With this addition, you will be able to cpopy/paste deeplinks from the cyberchef UI (everything after the #) and paste it in as a query to /bake
and it will bake it for you.
- Input is base64 encoded in URL, so we decode that.
- if a recipe output type is ArrayBuffer, it is binary, so base64 encode the dish value before returning. returned type is still ArrayBuffer.
Blocked by this PR in cyberchef repo
Closes #15
See the tests in this PR, you will see two unexpected behaviours. Investigate these and raise or fix appropriately before merging.