kkishore
4 years agoNew Contributor III
Rest post zip file issue
Hi Team,
we are posting a zip file to the target location with restpost snap(invoking the webservice provided by target team), but below information is adding to the file and the zip file not able to open by the team.
Target team receiving the data like below adding extra content at header level:
-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn
Content-Disposition: form-data; name=“file”; filename=“data.zip”
Content-Type: application/octet-stream; charset=UTF-8
Content-Transfer-Encoding: binary
actual data(zip format)
-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn
how to avoid this extra content added to original zip file.
Please find the error here while target team trying to open the zip file stored in Blob field of Database.