question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The custom security is a great help, thanks

I’m trying to create a session using the restful API which works fine locally but asks for CORS as the server is a different domain. But I can’t find anything to help me enabling it? Is it possible? how?

I’m getting 400 bad requests and Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://xx-ss-00.somewhere.cloudapp.azure.com/reports/api/v2.0/Session. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jtarquinocommented, Sep 11, 2019
0reactions
MarkMadcommented, Sep 11, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cross-Origin Resource Sharing (CORS) - MDN Web Docs
The CORS mechanism supports secure cross-origin requests and data transfers between browsers and servers. Modern browsers use CORS in APIs ...
Read more >
Cross-origin resource sharing
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources on a web page to be accessed from another domain outside the...
Read more >
CORS Tutorial: A Guide to Cross-Origin Resource Sharing
Cross-Origin Resource Sharing (CORS) is a protocol that enables scripts running on a browser client to interact with resources from a different ...
Read more >
Enabling CORS for a REST API resource
Determining whether to enable CORS support. A cross-origin HTTP request is one that is made to: A different domain (for example, from example....
Read more >
Complete Guide to Cross-Origin Resource Sharing (CORS)
CORS is essentially supported by all modern browsers. If your browser doesn't support CORS it's likely a sign a sign that you should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found