Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Capgemini
IN
Last activity: 6 Jun 2018 14:45 EDT
Multipart Request for Connect-Rest
Hi,
There is a requirement where I need to pass html file as an attachment in the request for connect rest.
Tried setting a base64 encoded value of the html stream in pyRequestAttachmentPage.pyAttachValues(1) but getting 400 error code.
Along with attachment, I also need to pass some values in 2 query string parameters ( i.e. Query String parameters are: metadata & content)
Please suggest how can this be achieved ?
***Updated by moderator: Lochan to add Categories***
Hi,
There is a requirement where I need to pass html file as an attachment in the request for connect rest.
Tried setting a base64 encoded value of the html stream in pyRequestAttachmentPage.pyAttachValues(1) but getting 400 error code.
Along with attachment, I also need to pass some values in 2 query string parameters ( i.e. Query String parameters are: metadata & content)
Please suggest how can this be achieved ?
***Updated by moderator: Lochan to add Categories***