I'm trying to get HEAD on an object, and I'm getting 403 forbidden. What permissions do I need to, in order to get HEAD on the object, using the REST API?
I have the code in place to get the full object contents using a signed URL... but when I switch to get HEAD instead of getting the full object, it gives me the 403 forbidden
It's the same permission as for GET. If you can get an object, you can do a HEAD request on it. But you can't use the same signed URL for HEAD and GET because the request method is used to compute the signature, so they will have different signatures. Create a new signed URL for the HEAD request and it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With