5 Replies Latest reply on May 17, 2011 5:39 AM by DawMatt

    Custom Headers with LrHttp.post?

    jovenator

      I am using custom HTTP headers in my application and this works

      great with LrHttp.get. However, LR doesn't send anything when I try to do this with LrHttp.post.

       

      My code looks like the following:

       

                  local customHdrs = {
                      { field="XXX", value="yyy" }

                  } 

       

                  local data, hdrs = LrHttp.get(url, customHdrs)

       

                  data, hdrs = LrHttp.post(url, xxx, customHdrs)

       

      Any ideas? Has anyone used custom HTTP headers with post before?

       

      Thanks!