Skip to Content
Former Member
Mar 04, 2016 at 11:22 AM

How to set header “Content-Type” and “slug" values for ZIP files during post command


Hi All,

I am referring to

Uploading Files to SAP GW, Downloading Files from SAP GW - New Techniques blog by Peter Marcely to upload files in SAP Gateway system.

My requirement is to upload Zip Files (which will have XML files zipped) through SAP Gateway service and save each XML file in Application Server of SAP gateway system.

I have built gateway service as mentioned in the above blog,

I am ready to post file through GW.

But as I am new to gateway I don't know how to prepare the HTTP request for this.

Please let me know what will be Header "Content-Type" and "slug" values for my ZIP file.

How do I link my Zip File in my local desktop to HTTP request values and run the POST HTTP method.

It will be great help if you let me know the steps to add my Zip file name to slug header name value.

Thanks a lot and appreciate all your help.

Kind Regards,

Madhu M V


Capture.PNG (77.2 kB)