Upload file to S3 Signed URL
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
-
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.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback