dmikester1 – 18-02 Nov 28
I'm trying to make an API request to zipcodestack.com to get the associated city and state for a given zip code. I keep getting this error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.zipcodestack.com/v1/search?codes=54703&country=us. (Reason: header ‘apikey’ is not allowed according to header ‘Access-Control-Allow-Headers’ from CORS preflight response). I tested it with Postman and it worked fine, so nothing wrong with the API.