showing results for - "can we send image in json in angular"
Jacopo
03 Jan 2017
1curl -i -X POST -H "Content-Type: multipart/form-data" \
2-F 'user={"name":"John","age":12};type=application/json' \
3-F "file=@myfile.txt" http://localhost:8080/post
4
Fabian
25 Apr 2017
1public ResponseEntity<User> handleFileUpload(@RequestParam("user") User user, @RequestPart("file") MultipartFile file)
2
Serena
13 Oct 2016
1public ResponseEntity<User> handleFileUpload(@RequestPart("user") User user, @RequestPart("file") MultipartFile file)
2