Uploadcare handles file uploads, storage, processing and delivery for the modern web. Build more, code less. Sign up at uploadcare.com to get your free API key.
Go to siteUsing the Uploadcare API, you can build a variety of applications that improve the user experience while minimizing their reliance on third-party services. With the API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uploadcare: {
type: "app",
app: "uploadcare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.uploadcare.com/project/`,
headers: {
"Content-Type": `application/json`,
"Accept": `application/vnd.uploadcare-v0.5+json`,
"Authorization": `Uploadcare.Simple ${this.uploadcare.$auth.api_key}:${this.uploadcare.$auth.api_secret}`,
},
})
},
})
Uploadcare uses API keys for authentication. When you connect your Uploadcare account, Pipedream securely stores the keys so you can easily authenticate to Uploadcare APIs in both code and no-code steps.
To retrieve your Uploadcare API key and secret,
* Navigate to your Uploadcare account and sign in
* Go to “API Keys” inside the navigation bar on the left.