no_strip
是否保留调试信息加密(也就是报错会有行信息),默认为 false
。curl --location --request POST 'http://127.0.0.1:46952/encript' \
--header 'args: {"no_strip":true,"filename":"test.xxt"}' \
--header 'Content-Type: text/plain' \
--data-raw 'print(1 + 1)'
{
"code": 0,
"data": {
"download_uri": "/caches/CEEB76E2-278E-4F62-9FD4-384287DB343F/test.xxt"
},
"download_uri": "/caches/CEEB76E2-278E-4F62-9FD4-384287DB343F/test.xxt",
"message": "Operation succeed"
}