Forum Discussion

chasemiller's avatar
chasemiller
New Contributor
7 months ago
Solved

Sendinding a CSV file in a Post request

I have a csv file I'm trying to send to a Springboot application. It's a end point defined as: 

@RequestParam("file") MultipartFile file


When I send a file from Soup UI, I get this error back:

Required part 'file' is not present


I attached the file in the attachments section. There's no option in the drop down "Part" so I leave it blank. I set method to POST and Media Type to Multi/form.
Am I missing anything?

 

  • I needed to change my contentID to say file. Problem solved