upload to google cloud storage signed url with javascript

前端 未结 2 2062
野的像风
野的像风 2021-02-13 12:53

With the following code I\'m able to upload to my publicly writable bucket in google cloud storage. (allUsers has write permission). However If the bucket isn\'t publicly writab

2条回答
  •  孤城傲影
    2021-02-13 13:27

    Use https://storage.googleapis.com as a host to compose the URL that points to the desired resource. You can choose between a few ways to construct your base URL. Here are some possible combinations.

    For reference, you can also check out a very simple snippet Python that could be helpful.

    Hope it helps.

提交回复
热议问题