Skip to content

CORS problem #63

@JulieVoltaire

Description

@JulieVoltaire

Hi,

I do a GET request on my Vuejs app (localhost:8080) and have some CORS problems :
"Access to fetch at 'my_url/admin/api.php?api_key=my_key&api_action=contact_view_email&api_output=json&email=julie@equitack.com' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

I have the same problem when I use a simple fetch instead of your library.

How can I manage CORS?

Thanks for your help

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