Real Estate Forums
| Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
I am working on writing a coldfusion based RETS system. I pretty much have everything figured out except for the authentication portion.
I am connecting to the rets server twice to facilitate authentication. The first time I connect I get a wanted 401 error. I use this error to create my full authentication string. This works as intended. The issue I am having is when I use the created Authentication string to create my header which I post to RETS server. I know what the problem is, it is how I am formatting my header. I still have yet to find a black and white example of how this header should be created. Below are the headers that I am creating and passing. I have replaced private info with **'s Any help with this is greatly appreciated. Created Header: Authorization igest qop="auth", User-Agent="MRIS-test2/1.0",username="****",password="*****",nonce="5aeab 8af7e8e241f07ea0c3868584f12", opaque="17051842362549", uri="/rets/login" 400 Incorrect prefix YESPassed Header + Error: HTTP Status 400 - Incorrect prefix <Authorization igest qop="auth", User-Agent="MRIS-test2/1.0",username="*****",password="******",nonce="5ae ab8af7e8e241f07ea0c3868584f12", opaque="17051842362549", uri="/rets/login"> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|