import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ngrok: {
type: "app",
app: "ngrok",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ngrok.com/api_keys`,
headers: {
Authorization: `Bearer ${this.ngrok.$auth.api_key}`,
"ngrok-version": `2`,
},
})
},
})
Create an HTTPS Edge. See the documentation
Delete an HTTPS Edge. See the documentation
Get the details of an HTTPS Edge. See the documentation
Updates an HTTPS Edge. See the documentation
ngrok uses API keys for authentication. When you connect your ngrok account, Pipedream securely stores the keys so you can easily authenticate to ngrok APIs in both code and no-code steps.