作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在azure api网关中我想删除“内容”:
来自下面的示例
从这里{ “内容”: { “产品”:“苹果”, “产品代码”:“12345566”, “细节”: [ { “发布ID”:16294, “IssuesTo”:“CAND”, “描述”:“更换”, “创建”:“2016-02-24T05:51:56”, “发生”:“2016-02-24T05:49:47.000EST”, “发布者”:“詹姆斯” } ] }}
对此{ “产品”:“苹果”, “产品代码”:“12345566”, “细节”: [ { “发布ID”:16294, “IssuesTo”:“CAND”, “描述”:“更换”, “创建”:“2016-02-24T05:51:56”, “发生”:“2016-02-24T05:49:47.000EST”, “发布者”:“詹姆斯” } ] }
我尝试过搜索,大多数建议都是在代码中序列化对象。如果可以的话,我可以通过 Azure API 网关执行相同的操作吗?请有人引导我走向正确的方向。
谢谢
最佳答案
不幸的是,Azure API 管理中不支持此功能。 MSDN documentation列出了可在 Azure API 管理中使用的所有可能的策略,但它们都无法执行此任务。
可能的解决方法是使用服务来转换此 JSON。可能是 Azure 函数或 LogicApp。
关于json - Azure API网关: Remove a attribute label from json,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43052459/
我是一名优秀的程序员,十分优秀!