Rest api comment issue : csrf problem

I am trying to comment on an issue using /REST/1.0, the request is well formed but I get a csrf page when sending it. If I use the new link in the returned html page with the csrfToken parameter it works. Is it possible to disable the csrf for the api? I am missing some parameter?
I can only find the documentation in this url
https://rt-wiki.bestpractical.com/wiki/REST not sure if is the latest one. I am using rt 4.2.2

Thank you