History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2611
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Anoop Vijayan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

REST api call does not work from an external javascript

Created: 31/Dec/15 06:59 AM   Updated: 31/Dec/15 06:59 AM
Component/s: None
Affects Version/s: 6.0.4
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
We tried to host html pages through tomcat running in the QB server port 8080. The javascripts in that page does restful api calls to populate values. But didn't manage to get that working due to the following error:
----------------------- clip -------------------
XMLHttpRequest cannot load http://pafprodqb01.eget.fi:8810/rest/latest_builds/452. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://pafprodqb01.eget.fi:8080' is therefore not allowed access. The response had HTTP status code 500.
----------------------- clip -------------------

We tried hosting the html pages along with javascripts to another host and still get the same error.

Thanks,

 All   Comments   Work Log   Change History      Sort Order:
There are no entries against this issue.