cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

File Upload in SAP Commerce OCC

roberto_barretorres
Discoverer
0 Likes
2,804

Hello,

We have a couple of important requirements which the user from the frontend application, Spartacus 3.1, should upload files to our backend system, SAP Commerce Cloud 2011, after trying and doing investigations we couldn't make it work.
We are trying to implement an endpoint in the OCC API which should accept MultipartFile parameter and then receive the files but we always get the same response "Required request part 'file' is not present". We are also testing it from Postman and same result.

Does anyone know how to handle this problem?

Thanks in advance!
Roberto

Accepted Solutions (0)

Answers (1)

Answers (1)

roberto_barretorres
Discoverer
0 Likes

Hi Milosz,

Thanks for the proposed solution!
It works fine now.


Thanks and Regards,

Roberto