import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postbin: {
type: "app",
app: "postbin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.postb.in/api/bin/${this.postbin.$auth.bin_id}`,
headers: {
"accept": `*/*`,
},
})
},
})
PostBin uses API keys for authentication. When you connect your PostBin account, Pipedream securely stores the keys so you can easily authenticate to PostBin APIs in both code and no-code steps.