<< Back to previous view

[QB-2611] REST api call does not work from an external javascript
Created: 31/Dec/15  Updated: 31/Dec/15

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.4
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Anoop Vijayan Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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,
Generated at Tue Apr 16 07:12:34 UTC 2024 using JIRA 189.