This content has been marked as final. Show 3 replies
You cannot just copy headers form successful login, since they are a function of server's nonce, which is different on every request (this is the main idea of Digest). Actually, authorization is a function of server's nonce and client's nonce. So, you have to correclty calculate this every time you log in.
However, with CFX_HTTP5 I immediately got this [successful] response without any programming:
<RETS ReplyCode="0" ReplyText="Operation Successful">
MemberName = TRUDY MOORE
User = CRIL01,1,SUBSCRIBER,CRIL01
Broker = HOMESMART
MetadataVersion = 1.00.00004
MinMetadataVersion = 1.00.00004
OfficeList = NONE
TimeoutSeconds = 1440
Action = /RETS/Action
GetObject = /RETS/GetObject
Login = /RETS/Login
Logout = /RETS/Logout
Search = /RETS/Search
GetMetadata = /RETS/GetMetadata
X-Links = /RETS/LINKS
X-Stats = /RETS/STATS
X-OMEGA = /RETS/Omega
I would love to use CFX_HTTP5 but our servers run on linux. Unless there is an alternative to it, I am kind of stuck.
When I said, I was making them exactly the same. I didnt mean data whise, I meant structure wise.
Can you please describe how to use CFX_HTTP5 for RETS call.