Generate Presigned URL To Upload Image (IPFS)
Request
try {
const apiProtocol = nft2Client.getAPIService();
const presignedList = await apiProtocol.generatePresignedImage({
files: [
{
fileName: 'file1.png',
mimeType: 'image/png',
},
{
fileName: 'file2.jpeg',
mimeType: 'image/jpeg',
},
...
]
});
console.log(presignedList)
} catch (e) {
console.error(e);
}Parameters
Response
Using presigned URL to upload image to S3
Last updated