with Mx Toolbox and Postman?
Emit new event when a monitor run is completed. See the documentation
Updates a specific environment variable in Postman. See the documentation
The Mx Toolbox API offers a suite of network diagnostic and lookup tools useful for IT professionals and system administrators. With this API on Pipedream, you can automate checks for domain health, DNS records, blacklisting, and more, integrating these insights into your broader IT infrastructure. Pipedream's serverless platform allows you to create workflows that react to various triggers and pass data between the Mx Toolbox API and numerous other apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mx_toolbox: {
type: "app",
app: "mx_toolbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mxtoolbox.com/api/v1/lookup/dns/{YOUR_HOSTNAME}`,
headers: {
"Authorization": `${this.mx_toolbox.$auth.api_key}`,
},
})
},
})
The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})