情况

传递任何数据给RESTlet都提示UNEXPECTED ERROR

{
    "error": {
        "code": "UNEXPECTED_ERROR",
        "message": "Unsupported file extension: "
    }
}

解决

这个错误由于脚本文件没有扩展名。请确保脚本文件以 .js结尾,尽管文件类型显示是JavaScript文件。

Last modified: 29/06/2023

Author

Comments

Write a Reply or Comment

Your email address will not be published.