IDXBroker empowers real estate agents with lead management solutions, customizable home search, and fully hosted websites.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
idx_broker: {
type: "app",
app: "idx_broker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.idxbroker.com/leads/lead`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
"accesskey": `${this.idx_broker.$auth.access_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})