on 07-07-2015 4:53 PM
Hi Experts,
I'm trying to change the Content-Type of my http post REST request from "application/json" to "multipart/form-data".
I defined an additional http header name "Content-Type" in my REST adapter and i set the value to "multipart/form-data".
But, i still have content type to "application/json" when i catched my request with a proxy debbug tool.
Does anyone know how to change the content type for REST adapter?
Regards
Hi experts, is it any suggestions about how to use multipart/form-data in REST ? Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Franklin and Andrey,
There was an issue in REST adapter ignoring custom set content type header, but it was fixed - patches provided in SAP Notes 2199568 and 2173994. I have just tested this behaviour in one of internal systems (PO 7.31 SP16 with almost most recent patches applied) - worked well for me when setting header "Content-Type" in the tab "HTTP Headers" of a REST receiver communication channel configuration.
Regards,
Vadim
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.