MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Calling REST API from some other domain
Current time: 12-04-2020, 09:00 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling REST API from some other domain
05-23-2013, 02:35 PM
Post: #1
Calling REST API from some other domain

We are developing an internal tool which would give few other information apart from performance view of the webpage. For the performance part I would like to use some of the information provided by the REST API. This is not a commercial tool.
And we already got the API key after sending a mail to You.

The problem comes when I am trying to call the API from some other domain.

My question here is : Is this API can be called from some other domain or Is it restricted from cross-domain calls because this has to be configured on the server itself?

For example : I want to call the API[] from by making an AJAX call[along with the API key and some additional parameters] and expecting the webpagetest server to send me some xml as response which I will render in my customized UI. Is it possible?

Because when I am trying to do so, the call is getting cancelled in chrome and in firefox, it's prompting that - Redirecting to another page- but nothing happens even though I press Yes.

I know about the private instance of webpagetest but that will not solve my problem as I just want the xml response to integrate this with my application.

Please help.

Thanks in advance
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Calling REST API from some other domain - kpanjan - 05-23-2013 02:35 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)