[Libreoffice] Works LO connector with HTTPS ?

Fernand Vanrie sos at pmgroup.be
Thu May 26 00:49:47 PDT 2011


I Trye to use the latest Google Tasks API from in LO but now we need to 
connect with HTTPS
please can a developer tell me if my code had a change to work no or in 
the future ?

oConnector = createUnoService("com.sun.star.connection.Connector")
oConnection = 
oConnector.connect("socket,host=www.googleapis.com,port=80")  'or port 
(443)'
oConnection.write( StringToByteArray( "GET 
https://www.googleapis.com/tasks/v1/lists/MDk5Nzc1MDY0NzQyMTk4NjEyMzM6MDow/tasks/MDk5Nzc1MDY0NzQyMTk4NjEyMzM6MDo4?pp=1&key={YOUR_API_KEY}"  
+ cCR + cLF ))

Greetz Fernand

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110526/b7db1890/attachment.htm>


More information about the LibreOffice mailing list