serverless-apigwy-binary icon indicating copy to clipboard operation
serverless-apigwy-binary copied to clipboard

Prevent binary conversion of all api routes

Open izakblom opened this issue 7 years ago • 0 comments

I tried using this plugin to convert one serverless api response to binary, as follows:

get_object:
    handler: Storage/handler.get_object
    events:
      - http:
          path: get_object
          method: get
          cors: true
          contentHandling: CONVERT_TO_BINARY

and

plugins:
  - serverless-apigwy-binary

But now all api route requests are also converted to binary? Is there a workaround for this?

izakblom avatar Oct 19 '18 11:10 izakblom