public MuleMessage doHttpReceiveRequest ( String url , String method , String acceptConentType , String acceptCharSet ) { Map < String , String > properties = new HashMap < String , String > ( ) ; properties . put ( "http.method" , method ) ; properties . put ( "Accept" , acceptConentType ) ; properties . put ( "Accept-Charset" , acceptCharSet ) ; MuleMessage response = send ( url , null , properties ) ; return response ; }
Perform a HTTP call receiving information from the server using GET or DELETE