百度智能云

All Product Document

          Reference

          Include the Authentication String into the URL

          In addition to using the Authorization Header, users can also add an authentication string to the URL. The specific method is to add authorization = <authentication string> to the Query String of the URL. For how to generate an authentication string, see Generate Authentication String

          Method to realize

          Based on the result of "Authentication String Generation Example" in Generate Authentication String, the following URL can be constructed for verification.

          https://bj.bcebos.com/test/myfolder/readme.txt?partNumber=9&uploadId=a44cc9bab11cbd156984767aad637851&authorization=bce-auth-v1/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/2015-04-27T08:23:49Z/1800//d74a04362e6a848f5b39b15421cb449427f419c95a480fd6b8cf9fc783e2999e

          Including the authentication string in the URL is often used in the scenario where the URL is generated for use by a third party, for example, to temporarily open some data to others for download.

          Previous
          Include the Authentication String into the Header
          Next
          Sample-Code