So i can do this request in Postman and it works correctly but recreating it with XOJO causes it to fail.
I’m thinking it has something to do with the redundant cookie headers i need for the call to work.
dim url as string = <<redacted>>
dim h as new HTTPSecureSocket
h.Secure = true
h.requestHeaders.AppendHeader("Cookie","companyName="+companyid)
h.requestHeaders.AppendHeader("Cookie","memberHash="+MemberHash)
h.requestHeaders.AppendHeader("Cookie","memberID="+Memberid)
dim result as string = h.Get(url, 10)
I’ve quadruple checked that all the tokens are the same in both requests. The only thing that stands out to me as abnormal is that in XOJO it adds the headers as “Cookie”,“Cookie:1”,“Cookie:2”
Anyone else have any ideas how to work around this?
h.requestHeaders.AppendHeader("Cookie","companyName="+companyid)
h.requestHeaders.AppendHeader("Cookie","memberHash="+MemberHash)
h.requestHeaders.AppendHeader("Cookie","memberID="+Memberid)
to