检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
max-http-header-size=16384 /Applications/Postman.app/Contents/MacOS/Postman Linux NODE_OPTIONS=--max-http-header-size=16384 /path/to/Postman/Postman Windows
在Windows系统上安装SDK 安装 vcpkg 并使用 vcpkg 安装所需软件包 vcpkg install curl cpprestsdk boost openssl spdlog 使用CLion进行编译 使用CLion打开huaweicloud-sdk-cpp-v3 目录
图3 Windows环境新建环境变量 初始化客户端 指定云服务region方式(推荐) // 初始化指定云服务的客户端 {Service}Client ,以初始化FRS服务的 FrsClient 为例 var client = FrsClient.NewBuilder()
图3 Windows环境新建环境变量 初始化客户端 指定云服务endpoint方式 // 指定终端节点,以 FRS 服务北京四的 endpoint 为例 const endpoint = "https://face.cn-north-4.myhuaweicloud.com"; const
图3 Windows环境新建环境变量 初始化客户端 指定云服务endpoint方式 $client = FrsClient::newBuilder(new FrsClient) ->withHttpConfig($config) ->withEndpoint($endpoint
图3 Windows环境新建环境变量 初始化客户端 指定region方式 # 初始化人脸识别服务的客户端,并选择服务部署区域 def GetClient(): client = FrsClient.new_builder(FrsClient) \ .with_credentials
图3 Windows环境新建环境变量 初始化客户端 指定region方式 // # 初始化人脸识别服务的客户端,并选择服务部署区域 func GetClient(auth basic.Credentials) *frs.FrsClient { client := frs.NewFrsClient
图3 Windows环境新建环境变量 初始化客户端 指定region方式 public static FrsClient getClient(Region region, ICredential auth) { // 初始化人脸识别服务的客户端 FrsClient