[kronolith] Fwd: Re: how to re: Added calendar widgets embeddable into external websites

Michael Rubinsky mrubinsk at horde.org
Wed Oct 1 20:43:57 UTC 2008


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>
>> I'll have to plead ignorance here, how does using our jsonrpc server
>> solve the cross domain restriction on XMLHTTPRequest?
>
> You don't use an XmlHttpRequest; you load the result of the jsonrpc  
> call as a <script> tag, which can be loaded cross-domain.

To summarize an irc discussion for the record:

Currently our jsonrpc server requires POST, and script inclusion will  
only work with GET. For more information on why we currently require  
POST, see:

http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html#IdempotentProcedures


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20081001/e03d9c4e/attachment.bin>


More information about the kronolith mailing list