1. 首页
  2. 数据库
  3. 其它
  4. cdse:CDS扩展用于外部服务消费 源码

cdse:CDS扩展用于外部服务消费 源码

上传者: 2021-04-07 09:25:02上传 ZIP文件 37.26KB 热度 12次
CDSE节点模块 CDS扩展,用于外部服务消费 该节点模块为使用云应用程序编程(CAP)模型中的外部服务提供了一种替代解决方案,在该模型中,用户可以使用axios节点模块的原始功能,同时仍然使用以下CAP框架功能: 流利的API概念 处理目的地和连接性配置 在package.json中找到CDS配置 安装 使用npm: > npm install cdse 例子 const cdse = require ( "cdse" ) ; const service = await cdse . connect . to ( "NorthWind" ) ; // HTTP GET let result = await service . run ( { url : "/Products" } ) ; // HTTP POST result = await service . run ( {
下载地址
用户评论