检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
If you already have two access keys and want to create a new one, delete one first. To change an access key, delete it and create a new one. For newly created access keys, the last used time is the same as the creation time, but will change the next time you use them.
Signer signer(getenv("HUAWEICLOUD_SDK_AK"), getenv("HUAWEICLOUD_SDK_SK")); Generate a new RequestParams request, and specify the method, domain name, request URI, query strings, and request body. 1 2 3 4 5 6 //Specify a request method, such as GET, PUT, POST, DELETE, HEAD, and PATCH
For all requests except get, delete, and head, add a body in the Body area by using the same format as a real request body. Compare the signature in the local code with the visualized signature of JavaScript.