Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

CORS blocking requests to the API #18

Copy link
Copy link
@arcogabbo

Description

@arcogabbo
Issue body actions

Requests on every endpoint of the API are blocked from the browser (currently using Chrome 93).

Example:

$.ajax({
  url:'https://api.opensource.org/licenses/',
  method:'get',
  success:(res)=>{
    console.log(res)
  },
  error:(xhr,s,err)=>{
    console.error(err)
  }
})

Output:

Access to XMLHttpRequest at 'https://api.opensource.org/licenses/' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.