on 04-01-2016 9:40 AM
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:
Thanks,
Madhu M V
I do not think rest client will stop you from using only above 10 content-types. You should be able to type the value you want to use. If not use "Advanced Rest Client" Chrome extension. That allows you to type any value as content-type header value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Madhu,
Please pass 'application/x-zip-compressed' only as 'Content-Type' and check.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its working when I use postman rest client: Postman - Chrome Web Store
Looks like issue with Advanced REST client - Chrome Web Store
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.