REST API call script

Hi,

I'm trying to make a test to call a custom script via api call but I get the following error.

{
    "responseStatus": {
        "errorCode""NotImplementedException",
        "message""Could not find method named Post(ExecuteScriptRequest) or Any(ExecuteScriptRequest) on Service ScriptsService"
    }
}
My request is the following:
https://<hostname>/AppServer/api/script/<script>
and i'm using a system user to authenticate for this test.
Any idea of what means this error? Why the script cannot be found?
Thanks.