import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
issue_badge: {
type: "app",
app: "issue_badge",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.issuebadge.com/api/v1/validate-key`,
headers: {
Authorization: `Bearer ${this.issue_badge.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Issue Badge uses API keys for authentication. When you connect your Issue Badge account, Pipedream securely stores the keys so you can easily authenticate to Issue Badge APIs in both code and no-code steps.