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: Merge branch '5.0/rest2-record-links' into 5.0-trunk · bestpractical/rt@07c897f · GitHub.
Now I just have to decipher the documentation.