阿里云文档 2025-04-22

如何使用HTTP 群聊接口接入群聊功能?

说明需要使用您的API-KEY替换示例中的 your-api-key ,代码才能正常运行。群聊对话流式调用shellcurl --location 'https://nlp.aliyuncs.com/v2/api/groupchat/send' \ --header 'Expect;' \ --he...

阿里云文档 2025-04-22

如何使用HTTP 非固定角色接口进行角色接入?

说明需要使用您的API-KEY替换示例中的 your-api-key ,代码才能正常运行。非固定角色对话流式调用shellcurl --location 'https://nlp.aliyuncs.com/v2/api/chat/send' \ --header 'Expect;' \ --head...

阿里云文档 2025-04-22

如何使用HTTP 固定角色-自定义历史接口进行角色接入?

说明需要使用您的API-KEY替换示例中的 your-api-key ,代码才能正常运行。快速开始shellcurl -vvv -s -L -X POST \ 'https://nlp.aliyuncs.com/v2/api/chat/send' \ --header 'Expect: ' ...

阿里云文档 2025-04-22

如何使用HTTP 固定角色-平台历史接口进行角色接入?

说明需要使用您的API-KEY替换示例中的 your-api-key ,代码才能正常运行。快速开始shellcurl -vvv -s -L -X POST \ 'https://nlp.aliyuncs.com/v2/api/chat/send' \ --header 'Expect: ' ...

阿里云文档 2025-04-22

星尘模型HTTP接口。

Shell工具调用请求示例curl --location 'https://nlp.aliyuncs.com/v2/api/completions' \ --header 'Content-Type: application/json' \ --header 'X-AcA-DataInspectio...

问答 2023-10-12 来自:开发者社区

请问如何查看应用提供的API接口都有那些?比如这个AI大语言模型,都提供那些HTTP接口?

请问如何查看应用提供的API接口都有那些?比如这个AI大语言模型,都提供那些HTTP接口?

文章 2023-07-21 来自:开发者社区

漏刻有时API接口实战开发系列(4):萤石云HTTP接口API开发获取accessToken(php)

使用ajax获取萤石云的accessToken时,appKey和secret直接暴露在前端HTML代码中,且success返回的accessToken在异步的情况下,无法作为全局变量使用。为此,在后端中获取accessToken,是非常必要的。$curl函数封装;//封装POST函数; function posturl($url, $data) { //把数组形式的参数转为‘appkey...

文章 2023-07-21 来自:开发者社区

漏刻有时API接口实战开发系列(1):萤石云HTTP接口API开发获取直播接口和流量数据查询(ajax)

漏刻有时API接口实战开发系列,主要针对现有互联网和物联网接口的技术开发,使用js技术,采用ajax直接对接相关接口。(安全隐患:appKey和secret会直接暴露在前端HTML代码中,实际生产环境,使用后台语言如php获取即可)。获取accessToken $.ajax({ type: 'post', url: 'https://open.ys7.com...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"从 HTTP 到 HTTPS 让网站更安全","productDescription":"本方案介绍如何在ECS上搭建Web应用以及在Nginx服务器上部署SSL证书开启HTTPS安全访问。","productContentLink":"https://www.aliyun.com/solution/tech-solution/ssl","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/ssl"},"productButton2":{"productButtonText":"方案部署","productButtonLink":"https://help.aliyun.com/document_detail/2684684.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"全面安全保障:等保 2.0 解决方案","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/mlps-compliance-solution","productPromotionInfoSecondText":"企业多账号身份权限集中管理","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/cmomaip"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}
X