• Resolved jeffohhello

    (@jeffohhello)


    Hi,

    Our MLS provider, CIREBA, allows us to create an API via HTTP requests. This requires HTTP Headers. Are you able to support this type of request?

    API URL: https://mls.cireba.com/idxapi/get/listings
    ?status=NEW&start=0&limit=10&incremental=Y&hr=5&status=active&type=residential&format=xml

    HTTP Method: GET

    HTTP Headers:
    authuser: ***
    authtoken: ***

    This works when I run it in postman but I could not get it to work with your plugin (returns nothing as the http headers are not included).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Property Hive

    (@propertyhive)

    Thanks for getting in touch. Just a quick one to confirm I’m looking into this now and will be in touch in the coming hours.

    Steve

    Plugin Author Property Hive

    (@propertyhive)

    Version 2.0.28 of Houzez Property Feed has just been released. This contains a new filter you can use to modify the request headers when requesting the XML. You should be able to use it like so:

    https://gist.github.com/propertyhive/b1319e067917b84bdcd5beef6f34e4da

    Do update and give that a go and let me know if any issues persist.

    Steve

    Thread Starter jeffohhello

    (@jeffohhello)

    Hi Steve,

    Thanks for the update. So I tried using this filter but I could not assign the Repeating Property Node and the Unique Property ID Node because it wouldn’t connect properly without the headers. Is there anyway we can include the headers in the frontend UI when editing/creating an import connection?

    https://prnt.sc/is97hJML4u7W

    Jeff

    Plugin Author Property Hive

    (@propertyhive)

    As per our discussion over email we believe this to now be working using the above snippet to set the XML request authorisation headers.

    I’m going to mark this as resolved however do let me know if issues persist.

    Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘API through HTTP request’ is closed to new replies.