Skip to main content
Participant
December 9, 2009
Question

Lightroom sdk

  • December 9, 2009
  • 2 replies
  • 757 views

Hi,

I would like to know whether lightroom sdk 2.0  can send https request. If it is possible please let me know how can i use that because i tried with Lr http but is not working.

I used soap to integrate with light room but is not working .

Please let me know asap.

Thanks,

Kishore.

This topic has been closed for replies.

2 replies

Vladimir Vinogradsky
Inspiring
December 10, 2009

Also it looks like your question about SOAP integration has already been answered a few days ago. Lightroom doesn't support Lua modules (at least in version 2, I'm not sure whether version 3 is going to offer more flexibility here), so if you're thinking about using lua socket (or any binary module), that won't work.

Vladimir Vinogradsky
Inspiring
December 10, 2009

It certainly can. Here is an excerpt from the documentation:

LrHttp namespace

LrHttp.get ( url, headers, timeout )

Retrieves data over the network using HTTP or HTTPS GET.


LrHttp.post (url, postBody, headers, method, timeout )
Sends or retrieves data using HTTP or HTTPS POST.

A word of caution though. HTTPS requests will fail if your certificate is self-signed or otherwise invalid.