错误重试和指数退避
Post in
四 19 八月 2021
Introduction
网络上的大量组件 (例如 DNS 服务器、交换机、负载均衡器等) 都可能在某个 …
网络上的大量组件 (例如 DNS 服务器、交换机、负载均衡器等) 都可能在某个 …
AWS Key Management Service (AWS KMS) 是一个密钥管理服务,可以用来创建和管理您的主密钥,AWS …
npm install @nestjs-modules/mailer
email.module.ts
import { MailerModule } from '@nestjs-modules/mailer';
import { EjsAdapter } from '@nestjs-modules/mailer/dist/adapters/ejs.adapter';
@Module({
imports: [
MailerModule.forRoot({
transport: {
host: 'mx …
API | params | response |
---|---|---|
GET https://graph.microsoft.com/v1.0/sites/ xxx.sharepoint.com:/teams/#siteName# | siteName: string | “sites”: [ { “@odata.type”: “microsoft.graph.site”} ] |
Error: unable to get local issuer certificate:
法一:
async apiLoader(endpoint, forceUpdate = false) {
try {
const token = await this.getToken();
const { data } = await axios.get(endpoint, {
headers: {
'X-SAP-LogonToken': token …
SI. No. | Description | REST API | Http Methods |
---|---|---|---|
1 | Logon using username and password | http://host: |
GET,POST |
2 | Logoff (token must be in Header) | http … |
https://eggjs.org/zh-cn/intro/index.html
Sails 是和 Egg 一样奉行『约定优于配置』的框架,扩展性也非常 …