We have a small spring boot application which has REST API as follows.
@RestController
@RequestMapping("/import")
@PostMapping(value="import")
public ResponseEntity<String> importData(@RequestParam("file") MultipartFile file, @RequestParam("sType") String sType,
@RequestParam("CCName") String CCName) throws Exception {
This does not accept form data as it is not defined in the API. Any suggestion on how to send data using curl command?