Using multipart/form-data in vert.x giving File with content type \Qapplication/octet-stream\E Bad request

123 views
Skip to first unread message

Meghna Kapoor

unread,
Apr 27, 2021, 1:54:47 PM4/27/21
to vert.x
Hi Team,

The curl request is 
curl --location --request PUT 'http://localhost:8080/api/v1/assets' \
--form 'model=@"Filepath/request.txt"'

And it is failing in ValidationFailureHandlerImpl  runPredicates

Everytime i get this response 

[Bad Request
] File with content type \Qapplication/octet-stream\E and name model is missing

Please suggest what is wrong. 



frances...@gmail.com

unread,
Apr 28, 2021, 6:05:12 AM4/28/21
to vert.x
Reply all
Reply to author
Forward
0 new messages