计算引擎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 IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
2017-11-13 北京地铁换乘算法(二维坐标系,图的深度搜索)开源下载Android源码、性能最优解,附带C#版本