cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello everybody,

I would like to POST form data with CPI, first I tried with Postman and It was ok you cans see below the raw data :

Then I try with CPI but I am not abble to replicate the case on CPI :

You will find attach the xml that I Try to send test-form-data.xml in CPI I put the headers like this :

Content-type multipart/form-data; boundary=cpi

then the body structure is like this :


I got an error 400 I don't know if I missed something, I already try the solutions on the link below :

https://blogs.sap.com/2019/11/14/what-is-form-data-and-how-to-send-it-from-sap-cloud-platform-integr...

but without succes.

Do you have any ideas ?

Thanks for you answers

Regards

0 Likes
View Entire Topic
PriyankaChak
SAP Champion
SAP Champion
0 Likes

Using MIME Multipart Encoder may help.

Link: reference link

Hello priyanka2018,

Thank you very much for your answer.

Regards