• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sending a POST request via HTTPS with WOHTTPConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending a POST request via HTTPS with WOHTTPConnection


  • Subject: Sending a POST request via HTTPS with WOHTTPConnection
  • From: Benjamin Steiner <email@hidden>
  • Date: Wed, 30 Sep 2015 13:48:19 +0200

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?

Thanks,
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 );
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sending a POST request via HTTPS with WOHTTPConnection
      • From: RenĂ© Bock <email@hidden>
  • Prev by Date: Re: Need conceptual modelling advice
  • Next by Date: Re: Sending a POST request via HTTPS with WOHTTPConnection
  • Previous by thread: WOLips 4.4 Installation Question - how do you do it?
  • Next by thread: Re: Sending a POST request via HTTPS with WOHTTPConnection
  • Index(es):
    • Date
    • Thread