Upload file to S3 Signed URL

Options

I am having trouble figuring out how to put a file to a signed url. I've tested sending this same file using postman without any issues so I know it must just be how I'm implementing it in Xano.

I using the file resource in the external API call but, despite trying to put the file in the parameter in various different ways, I can't get it to work.

I've seen the various posts about this but none of them seem to be leading me to a solution.

output from get file resource
{"name":"hello.png","size":5,"mime":"image/png","data":"hello"}

put the file:

Answers

  • waggy_d
    waggy_d Member
    Options

    Ok, I finally figured it out. You have to be careful because Xano automatically adds content-type. So if the receiver requires you to NOT have one (as does a signed url for S3) then you have to purposefully override this behavior. This is how I did it.