Skip to content

address api missing Access-Control-Allow-Origin header #103

@hoogw

Description

@hoogw

I am not be able to get address because of CORS error,

Access to XMLHttpRequest at 'https://apis-tem.usps.com/addresses/v3/address?&streetAddress=5000%20LOMA%20VISTA%20Ave%20&ZIPCode=90270' from origin 'http://localhost:10' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

USPS team, please add 'Access-Control-Allow-Origin' header in your response, otherwise, no one can use your api even with token.

However, with postman, no cors error, I believe postman can by pass that cors error, but browser can not.

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