getting 400 Bad Request when trying to upload to aws s3 bucket
问题 I sign the URL on my server and send it back to the client which works fine. This is how that function looks const aws = require('aws-sdk'), config = require('config'), crypto = require('crypto'); module.exports = async function(file_type) { aws.config.update({accessKeyId: config.AWS_ACCESS_KEY, secretAccessKey: config.AWS_SECRET_KEY}) const s3 = new aws.S3(); try { if (!file_type === "image/png") { return ({success: false, error: 'Please provide a valid video format'}); } let buffer = await