Body Parameters
filename Optional string Example: "image.png"
Returns
Returns a
upload_request resource object.
Examples
Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const uploadRequest = await client.uploadRequest.create({});
console.log(uploadRequest);
}
run();