I am testing in Google Chrome REST CLIENT. Please let me know what we need to pass to Content-Type when our attachment in ZIP File.
When we pass
"application/octet-stream" for Content-Type field in rest client.
and see in debugging mode
In Method: /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_STREAM, in parameter ==> is_media_resource-mime_type we are getting value as "multipart/form-data", Due to this reason I am not able to see the actual Zip File XSTRING value.
reffred: http://stackoverflow.com/questions/856013/mime-type-for-zip-file-in-google-chrome)
In my Gateway client when I am passing as below screen shot and I am able to see correct Zip File XSTRING value In Method: /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_STREAM
Please help.
Below are the F4 values I see in Content-Type field:
- multipart-form-dataapplication
- x-www-form-urlencodedapplication
- jsonapplication
- xmlapplication
- base64application
- octet-streamtext
- plaintext
- csstext
- htmlapplication
- javascript
Thanks,
Madhu M V