Calibration Software | Free Calibration Management Software
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gagelist: {
type: "app",
app: "gagelist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gagelist.net/GageList/api/Account/Status`,
headers: {
Authorization: `Bearer ${this.gagelist.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})