Receive Image as multipart file to rest service
问题 I am exposing a restful webservice, where i want to accept image as multipart file in the json body request i dont find anywhere a sample json request so as to hit my rest service from a rest client.my rest service uses this field above the class declaration @Consumes({MediaType.APPLICATION_JSON,MediaType.MULTIPART_FORM_DATA}) can anyone please get me a sample json request 回答1: The purpose of multipart/form-data is to send multiple parts in one request. The parts can have different media