Skip to main content
Published: February 24 2011, 9:47:00 PMUpdated: November 28 2020, 9:15:49 PM

Q. can I make cross domain call from within HTML-Type gadget?

A. Yes, you can make cross domain call from within HTML-Type gadget. Remote call has to come to the server via makeRequest(). You can't make cross domain call directly or you will get nothing but a blank response.  Please refer to the user guide for the details.

Q.  I get a 504 error or 500 error for any web services hit. If I retry the call enought times it works but it rately works on thefirst try.

A. You need to use Preload functionality. <Preload href="" />. Preloading is available to prevent extra round trips from the browser to the server, it is simply an optimization technique. Keep in mind that the preload URL must match exactly with the URL used in makeRequest call or else you will do twice the work.

How well did this answer your question?