import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mission_mobile: {
type: "app",
app: "mission_mobile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientlogin.missionmobile.net/gateway/xml_account_settings.asp`,
auth: {
username: `${this.mission_mobile.$auth.api_token}`,
password: ``,
},
params: {
guid: `${this.mission_mobile.$auth.account_id}`,
},
})
},
})
Mission Mobile uses API keys for authentication. When you connect your Mission Mobile account, Pipedream securely stores the keys so you can easily authenticate to Mission Mobile APIs in both code and no-code steps.