public MuleMessage doHttpSendRequest ( String url , String method , String payload , String contentType ) { Map < String , String > properties = new HashMap < String , String > ( ) ; properties . put ( "http.method" , method ) ; properties . put ( "Content-Type" , contentType ) ; MuleMessage response = send ( url , payload , properties ) ; return response ; }
Perform a HTTP call sending information to the server using POST or PUT