Skip to content

CORS on work guesser / roles? #7

@massanf

Description

@massanf

I am getting CORS 'No Access-Control-Allow-Origin header' error when I POST for work guesser and performer roles from server. Other requests like composers are working fine.

const url = `https://api.openopus.org/dyn/work/guess?works=${encodeURIComponent(blah)}`
let request = new XMLHttpRequest();
request.open("POST", url, true);
request.send();

Am I doing something wrong or is this intended behaviour? Should I fork and create my own API?
My project depends on this API so any help would be greately appreciated! Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions