Is it possible to send file PDF attachment to 3rd Party using REST service?
The code generated by POSTMAN while testing the service from POSTMAN.
POST /xxxxxxxxx/stageDocumentContent/ HTTP/1.1
Host: xxxxxxxxxx:1000
WF-senderMessageId: 22ece916-b0a1-41e5-9ebe-5c04345b658d
WF-creationTimestamp: 2021-04-15T17:49:53.354Z
WF-customerId: xxxxxx
WF-senderApplicationId: xyz
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
WF-senderHostName: xxxxxxxxx
encoded-content: true
Authorization: Basic xxxxxxxxxxxxxxxxxxxx==
cache-control: no-cache
Postman-Token: 845fcc89-dee0-4e1a-8a8f-af292b6f164e
Content-Disposition: form-data; name="content"; filename="C:\Users\xxxx\yyyyyyy\zzzzzz\doc3.pdf
-----WebKitFormBoundary7MA4YWxkTrZu0gW--
Could you please share the sample code to call from PeopleSoft to REST service with above specified parameters.
Thanks,