-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)webviewWebview issuesWebview issues
Description
I ask question on StackOverflow but activity is very low.
Summary:
I want to make HTTP request inside WebView but I got error
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Server does't support Access-Control-Allow-Origin for "null" or "localhost" Origin.
Is the way to create HTTP request from WebView to server ignoring missing Access-Control-Allow-Origin header? Maybe I can setup some policy for WebView panel? Or create localhost proxy inside extension and make request over proxy?
https://stackoverflow.com/questions/55841688/vscode-cross-origin-request-inside-webview
Metadata
Metadata
Assignees
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)webviewWebview issuesWebview issues