Hi List
At the moment, our application is sending a POST request with WOHTTPConnection. Now our customer wants us to send it via HTTPS. Is there a possibility to do that with WOHTTPConnection or are there any other ways to do it?
Beni
Application application = (Application)Application.application(); WORequest request = new WORequest("POST", application.mondPath(), "HTTP/1.0", null, xml, null); request.setHeader( authHeaderContent, "Authorization" ); request.setHeader( application.mondHost(), "host" ); request.setHeader( "Java/1.6", "user-agent" ); request.setHeader( "text/xml", "content-type" ); WOHTTPConnection connection = new WOHTTPConnection(application.mondHost(), application.mondPort()); connection.sendRequest( request ); |