Free Reliable Website Monitoring software by Freshworks
With the Freshping API, you can build a monitoring system for your website or
application. You can use it to track the uptime and response time of your site
or application, as well as to monitor the status of yourFreshping checks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshping: {
type: "app",
app: "freshping",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.freshping.io/api/v1/checks/`,
auth: {
username: `${this.freshping.$auth.api_key}`,
password: `${this.freshping.$auth.subdomain}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})