wso2 ESB에 api가 있습니다. 이 같은 내 API : 내가 호출 할 때wso2의 응답 메시지에서 Content-Type을 제거하는 방법 ESB
curl -i -X POST http://192.168.0.1:8280/login -F action=mobile -F user_username=3324 -F user_password=111111 -H "Accept:application/json"
, 난 reponse 메시지의 Content-Type 헤더를 참조하십시오
<inSequense>
<send>
<Endpint key="exapleEndpint">
</send>
</inSequence>
<outSequence>
<header action="remove" name="Content-Type" scope="transport"/>
<send/>
<outSequence>
내가 좋아하는 컬 내 API를 호출합니다. 이 헤더를 제거하는 방법. Content-type을 삭제하고 Content-type 및 구문 분석 응답을 추가하고 싶습니다. exponleEndpint는 json 본문을 반환하지만 헤더에는 Content-Type이 반환됩니다. text/html; charset = utf-8. 감사