We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I achieved multipart request and i was wondering if there is a way to have a multipart response.
The following code does not work for multipart response.
class Metadata(Schema): meta1 = fields.Str(required=True) meta2 = fields.Str(required=True) meta3 = fields.Str(required=True) class FileUpload(Schema): file = Upload() class MultipartResponse(Schema): field1= fields.Str(required=True) field2 = fields.Str(required=True) field3 = fields.Str(required=True) field4 = fields.Str(required=True) file = Upload() @classmethod @EdcBlp.route("/filetransfer") class FileTransfer(MethodView): @classmethod @EdcBlp.response(200,MultipartResponse(), content_type="multipart/form-data") def get(cls): pass @classmethod @EdcBlp.arguments(Metadata(), location="query") @EdcBlp.arguments(FileUpload(), location="files") def post(cls): pass
The text was updated successfully, but these errors were encountered:
Would be interested in a solution as well
Sorry, something went wrong.
No branches or pull requests
Hi!
I achieved multipart request and i was wondering if there is a way to have a multipart response.
The following code does not work for multipart response.
The text was updated successfully, but these errors were encountered: