with APIVerve and ServiceNow?
Inserts one record in the specified table. See the documentation
Deletes the specified record from a table. See the documentation
Return the temperature, humidity, and more for a given location. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apiverve: {
type: "app",
app: "apiverve",
}
},
async run({steps, $}) {
const data = {
"value": `https://pipedream.com/`,
}
return await axios($, {
method: "post",
url: `https://api.apiverve.com/v1/qrcodegenerator`,
headers: {
"x-api-key": `${this.apiverve.$auth.api_key}`,
},
data,
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
auth: {
username: `${this.servicenow.$auth.username}`,
password: `${this.servicenow.$auth.password}`,
},
})
},
})