Skip to content

CORS issue when accessing the rest api in javascript #4

@memezilla

Description

@memezilla

I got the following error when i made requests to api using jquery.

XMLHttpRequest cannot load http://www.peacecorps.gov/api/v1/geography/countries/?current=true&suspended=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access.

Metadata

Metadata

Assignees

No one assigned

    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