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.
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
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
},
})
The OneDesk API allows developers to easily access
and integrate several of OneDesk's core services into their own applications.
With the OneDesk API, developers are able to customize and combine multiple
services to create completely unique and versatile applications that their
users can enjoy.
The OneDesk API provides developers access to:
Using these and other core services from OneDesk, developers can create
powerful and engaging applications that cover a variety of use cases. Here are
some examples of applications you can build with the OneDesk API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onedesk: {
type: "app",
app: "onedesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.onedesk.com/rest/2.0/organization/getOrgInfo`,
params: {
token: `${this.onedesk.$auth.oauth_access_token}`,
},
})
},
})