WinUP / rets-client

NodeJS RETS/DDF Client
MIT License
8 stars 11 forks source link

Problem with request package #5

Open maxwellfortney opened 3 years ago

maxwellfortney commented 3 years ago

I am trying to connect to a RETS server, and when I initialize the client I get this error from the request package. image

Here is the code used. image

request package is also deprecated.

maxwellfortney commented 3 years ago

Fixed. The response body didn't have the extra property, and content is a buffer, so I made it into a string. May have to do with the RETS or request version? I'm using RETS V1.8 and request ^2.88.2.

image