Skip to content

Conversation

@d98762625
Copy link
Member

@d98762625 d98762625 commented Jun 26, 2020

Motivation: allow users to send files as part of multipart forms to cyberchef-server.

Features:

  • send input as "input" field in form:
curl -F "input=<$(pwd)/test-input.txt" -F "recipe=fromHex"  localhost:3000/bake
  • send input as "input" file in form:
curl -F "input=@$(pwd)/test-input.txt" -F "recipe=fromHex"  localhost:3000/bake
  • recipe must always be a file in the multipart form

Major themes still to complete:

  • Only PoC is proven, "make it work => make it good"
  • Handle optional outputType property
  • Handle input as file, not field

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

Successfully merging this pull request may close these issues.

2 participants