Hello,
I am trying to POST PDF document content to AWS S3 using SAP Cloud Platform ABAP Environment. I am facing few issues in doing the same. Below are the steps I am trying to achieve.
1. Read the document from S3 using the GET method which I am able to achieve successfully. Now I have the PDF content in my response (response->get_binary() and response->get_text() ).
2. Trying to POST the same document content to S3. This is where I am facing some challenges. As per the API documentation, the required parameters for upload are 'Authentication', 'Path' and 'File' (formdata).
I need to pass the file content using multi part.
Basically I am trying to achieve the same requirement as https://answers.sap.com/questions/12637207/abap---rest-service-consumption---post-multipart-o.html in ABAP Cloud Environment.
Any pointers will be very helpful.
Thanks,
Kishore.