Get a unique URL where you can send HTTP or webhook requests
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Have Sapling adapt its system over time. Each suggested completion has a completion UUID. You can pass this information back to Sapling to indicate the completion suggestion was helpful. See the documentation here.
Have Sapling adapt its system over time. Each suggested edit has an edit UUID. You can pass this information back to Sapling to indicate the edit suggestion was helpful. See the documentation here.
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Have Sapling not recommend the same edit anymore. Each suggested edit has an edit UUID. You can pass this information back to Sapling to indicate the edit suggestion was not helpful. See the documentation here.
Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sapling_ai: {
type: "app",
app: "sapling_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sapling.ai/api/v1/team`,
params: {
key: `${this.sapling_ai.$auth.api_key}`,
},
})
},
})