Skip to content

URL returned by createPresignedPost is incorrect #4183

Answered by ajredniwja
colesiegel asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @colesiegel thanks for opening this issue and yes I get similar results too for the same.

var aws = require('aws-sdk');
var s3 = new aws.S3({ region: 'us-west-2' });
var params = {
    Bucket: 'bucket',
    Fields: {
        key: 'key'
    }
};
s3.createPresignedPost(params, function(err, data) {
    if (err) {
        console.error('Error', err);
    } else {
        console.log('Data', data);
    }
});

I'll convert this to an issue

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ajredniwja
Comment options

Answer selected by ajredniwja
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants