I&#39;m writing a Greasemonkey script that incorporates JQuery, which I want to POST JSON data to a catalyst application.  The Catalyst application does not exist within the same domain as the page the greasemonkey script is running from, so I am assuming I will need to use Greasemonkey&#39;s <font size="2"><code><b>GM_xmlhttpRequest</b></code></font> method to post the data.  I am new to all of this, so I&#39;m just trying to make sure my thought process is correct.<br>
<br>On the client side, I think I should use JSON.stringify on the Javascript object before posting it using GM_xmlhttpRequest to the Catalyst app.<br><br>On the Catalyst side, I&#39;m planning to use Catalyst::Controller::REST, which should deserialize the JSON data with Catalyst::Action::Deserialize::JSON, if I understand it correctly.<br>
<br>If anyone has done anything similar, I could use some pointers, as I&#39;m new to Catalyst and haven&#39;t worked with JSON before.<br><br>Thanks,<br>Mike.<br>