What's important is that your method accepts POST requests with multipart/form-data. If you don't know how to do this, I suggest you look at the manual of your REST framework. If you need more than that, you should ask your senior what he really wants.
When i run the client through Postman file handling, it i throwing Null Pointer Exception at line 7. Possible reason i thought it doesn't found "file" word while requesting..
I also checked few on-line resources, they mentioned it is bug in Jersey.
Then i tried to make some html resource and that's working fine. But senior said they don't want gui stuff. They want some
client code which can call this POST. Here is html:
Then i found some Apache way to call this but having some issue there.. So i am still troubleshooting it.
Is there any way to call this POST through client code?