[HTTP Instead Of HTTPS] How can I access google cloud storage with HTTP instead of HTTPS #14951
Answered
by
ddelgrosso1
FengYikai710
asked this question in
Q&A
-
when I set the Option "RestEndpointOption" to "http://storage.googleapis.com", the access is denied while "https://storage.googleapis.com" is OK. Does GCP storage api support HTTP traffic? |
Beta Was this translation helpful? Give feedback.
Answered by
ddelgrosso1
Jan 23, 2025
Replies: 1 comment 4 replies
-
Hm, from testing locally, I do not think so. When I follow https://cloud.google.com/storage/docs/listing-objects#rest-list-objects just using the command line, I get: $ BUCKET_NAME=...
$ curl -X GET -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"http://storage.googleapis.com/storage/v1/b/BUCKET_NAME/o"
SSL is required to perform this operation. Let me loop in our storage expert. @ddelgrosso1 - Can you confirm this? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@FengYikai710 JSON endpoints only accept HTTPS requests.
Docs can be found here.