How to POST form-data using WCF-WebHttp from BizTalk RRS feed

  • Question

  • I need to POST a word document and some key/value pair using HTTP form-data from BizTalk using WCF-WebHttp adapter to a web service.  

    See the sample Postman and Fiddler screenshots at https://1drv.ms/u/s!AmPMllqE7H-92QBzTkqb-kOIgRpF?e=1wBwbD

    I found the following blog that creates form-data, but they are using string replace to construct the message, which is not working in my case. https://www.connected-pawns.com/2018/08/08/posting-multipart-form-data/

    Note: I could not load the files in the message, so I put it on my Onedrive and added the link here.

    Thank you.

    Monday, December 21, 2020 1:28 PM

All replies

  • Can you explain what is not working after following that blog?
    Tuesday, December 22, 2020 12:12 AM