shell可以调用接口的,工作了几年还没用过,记一个例子谨防后续用到
curl -X POST --header 'Content-Type: application/json' --header 'ReportScript-Sign: FgPlfGlYw83zMdZd' --header 'Accept: application/json' -d '{
"data": {
"appkey": "XXXXX",
"code": "bigdata.platform.XXXXX",
"params": {}
},
"extra": {}
}' 'http://XX.XX.XX.XX:XXXXX/report_api/extraFunction/commonApi'
2022年4月1号更新:
用postman可以做转化,非常方便,唉。还是工具爽啊