私はwso2 ESBにapiを持っています。このような私のAPI:wso2のレスポンスメッセージからContent-Typeを削除する方法ESB
<inSequense>
<send>
<Endpint key="exapleEndpint">
</send>
</inSequence>
<outSequence>
<header action="remove" name="Content-Type" scope="transport"/>
<send/>
<outSequence>
は、私は次のようにカールと私のAPIを呼び出す:私は呼び出すと
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ヘッダを参照してください。このヘッダーを削除する方法。私はContent-typeを削除し、私のContent-typeとパースレスポンスを追加したい。 exponleEndpintはjson本体を返しますが、ヘッダーを返します。Content-Type:text/html; charset = utf-8。 おかげで、あなたのoutSequenceで、前に送るこのプロパティを削除する