Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Spaces location header on object post
I’m working to replace an S3 integration with Digital Ocean Spaces for photo uploading am having issues with the response i’m getting after the post.
According to the S3 docs when you post an object you’re supposed to get a “location” header back with the URI of the object. The response i’m getting back from DO doesn’t include this and I can’t figure out any other way to grab the URI of the object that i’ve uploaded (to add to the model).
Is this intended to be different? I was under the assumption the API was supposed to work the same. If so, how do people normally deal with getting this info?