Connect REST: Custom Content-Disposition Header?
My query is basically the same as this one from 2018: https://support.pega.com/question/rest-connect-request-cannot-modify-first-content-disposition-header
The main request body has this as the part header: Content-Disposition: form-data; name="PostData"
Is there any way to customize the name value used in this part header? For example, we are intgerating with a service that is not maintained by our team, and the service is expecting this: Content-Disposition: form-data; name="data"
How can we accomplish this?
And in the interest of full disclosure: adding a custom Content-Disposition header to the Connect REST post method adds the header to the enitre request. We need the custom header on the request part, not the entire request.
Thanks, Kirk