Query on RTC Webserver
![]()
Hello team
UseCase : We have Developed a Widget in RTC using javascript. It uses some jquery url where it fetches information from RTC Server . I am Hosting this widget in our webserver (http://rb-airbag.de.bosch.com/) Issue: Whenever I try to run this widget I get the following Error :
My observations: I think the primary issue here is that, I am using the widget to get some data or resources from another website/server: Example : my current widget is on WEB1(http://rb-airbag.de.bosch.com/) but the resources or data are on WEB2 . Any help would be Appreciated ….Thanks in Advance |
2 answers
![]()
If you search "CORS" on the net, you will get lots of results. Also, you need to explain the situation in details (including browsers and application servers in use) for others to help you as the configuration is specific to each application (if doable). Here is one example:
https://jazz.net/forum/questions/151485/does-rtc-support-cors-cross-origin-resource-needed-for-a-javascript-oslc-consumer |
![]()
You can use gadgets.io.makeRequest to bypass the CORS limitation.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.