Skip to main content

Encrypt Plaintext Script

  • Description

    POST /encript HTTP/1.1
    args: {"no_strip":true|false}

    [script content]
  • Possible Responses

    • Success: status code 200 with body
      [encrypted script content]
    • Failure: status code 400 with body
      {"code":2,"message":"Syntax error in script","detail":"specific error details"}
      {"code":13,"message":"Another encryption is in progress..."}
  • Notes

    • args:
      • no_strip: when true, keep debug info in encryption (error shows line info). Default false