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 to send and receive binary files in java11 template #203

Open
vane opened this issue Apr 28, 2020 · 0 comments
Open

Allow to send and receive binary files in java11 template #203

vane opened this issue Apr 28, 2020 · 0 comments

Comments

@vane
Copy link

vane commented Apr 28, 2020

Expected Behaviour

Allow to get byte[] data instad of string in request

Current Behaviour

Only string is allowed

Possible Solution

Read body as byte[] and use IRequest getBodyBytes() IResponse setBodyBytes()

Steps to Reproduce (for bugs)

  1. Create echo function that sends input back to output
  2. Send file with POST request
  3. Received file have different size

Context

Your Environment

  • Docker version docker version (e.g. Docker 17.0.05 ):
    19.03.8
  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?
    Docker Swarm
  • Operating System and version (e.g. Linux, Windows, MacOS):
    Linux, MacOS
  • Link to your project or a code example to reproduce issue:
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 a pull request may close this issue.

1 participant