Announcement

Collapse
No announcement yet.

Cross Domain Request issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cross Domain Request issue

    Hi,

    I am using shoutcast API in order to build Chrome and Firefox extensions. For Chrome everything worked fine, however Firefox implementation got into a barrier.

    We were facing cross domain request issue with Shoutcast API in Firefox 47.0.1. When we install the extension on Firefox 47.0.1, internally it hit the API Url using Jquery Ajax, but it gives us the issue: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.shoutcast.com/legacy/Top500?k=DevID. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

    To resolve this issue I thought about the following: The Shoutcast team needs to enable the CORS at API side.

    I really don't see how can it be solved from our end. Do you have suggestions?

    The Customer support only said we should use https:// instead of http:// but that did not work and from that point I haven't got any response.

    Note: We are using the same API DevID for Chrome and FF

    I would appreciate any help in this matter.

  • #2
    If your Firefox extension is hampered by CORS issues, you've written it wrong
    "If you don't like DNAS, write your own damn system"

    So I did

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎