计算引擎engine2x的枚举获取api
直接代码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | API=>:POST 'http://ip:port/api/portal/operat' Content-Type: application/x-www-form-urlencoded ac=get_enum_items_by_id id=d6bf6e1bf7f34a59b9a8bca61a7ef9f9 // ajax var settings = { "url" : "http://ip:port/api/portal/operate" , "method" : "POST" , "timeout" : 0 , "headers" : { "Content-Type" : "application/x-www-form-urlencoded" }, "data" : { "ac" : "get_enum_items_by_id" , "id" : "858194c401e648d28dc456cd813a9a68" } }; $.ajax(settings).done(function (response) { console.log(response); }); // curl curl --location 'http://ip:port/api/portal/operate' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'ac=get_enum_items_by_id' \ --data-urlencode 'id=858194c401e648d28dc456cd813a9a68' // python import requests url = "http://ip:port/api/portal/operate" payload = 'ac=get_enum_items_by_id&id=5bd737c793e244c5bf7f0e07255bf063' headers = { 'Content-Type' : 'application/x-www-form-urlencoded' } response = requests.request( "POST" , url, headers=headers, data=payload) print(response.text) |
done
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
2017-11-13 北京地铁换乘算法(二维坐标系,图的深度搜索)开源下载Android源码、性能最优解,附带C#版本