Skip to content

nanhupatar/qcloud-apigateway-sign-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qcloud-apigateway

本示例是基于腾讯云API网关密钥鉴权的封装

使用

配置SCF以及API网关 env->config.js

  • env:环境。API网关默认提供release,prepub,test三种环境
  • baseUrl:API网关服务二级域名,可以在服务详情找到
  • SecretId: API网关服务的SecretId
  • SecretKey:API网关服务的SecretKey

使用方式

const {get, post} = requre('./httpClient.js');

例子

// test.js
node test.js

About

腾讯云API网关密钥鉴权封装,SCF+API网关

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published