[Owncloud] external page ajax call

Roman Geber geber at b1-systems.de
Thu Jul 4 18:15:57 UTC 2013


On 07/04/2013 06:52 PM, michee.lengronne wrote:
> Hello,
> 
> I try to call an external page in owncloud via a jquery ajax call.

You can't call an external page through ajax. For security reasons you
can only make requests to the same server the original page is coming from.

You might be able to do it through an iFrame.

Check out this links for more information:


http://stackoverflow.com/questions/4613310/how-to-call-external-url-in-jquery

http://stackoverflow.com/questions/382662/what-are-the-differences-between-using-an-iframe-and-ajax-to-include-the-content

Hope that helps.

cu
Roman

-- 
Roman Geber
Linux Consultant
Tel: +49-172-4430229
Mail: geber at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130704/fc8957ca/attachment.sig>


More information about the Owncloud mailing list