Linking tickets on RT + RT::IR 5.0.1 using REST API calls

Hi,

I’m trying to link an Incident Report to an Incident (setup RT 5.0.1 + RT::IR 5.0.1) using REST API 1.0. The response is “Possible cross-site forgery”.

Any idea for the reasons behind this error?

Can I still use REST API 1.0 in the above setup?

Is there functionality in REST API 2.0 for this ticket linking? A few months back, I understood it was being implemented for RT 5.0.x. If yes, pointers to documentation on how exactly linking is achieved using REST API 2.0 would be welcome.

Lucky me: https://github.com/bestpractical/rt/commit/07c897f379d1a727d5d3df10db868faed0341d55.
Now I just have to decipher the documentation.