ZIPCheck is a small service that validates US Zip Code values.
- A live instance of the service is running here: http://amundsen.com/examples/zipcheck/zipcheck.ashx
- An HTML Client (w/ pointers to source code) can be found here: http://amundsen.com/examples/zipcheck/
To use this service you simply send a query string that looks like this:
http://amundsen.com/examples/zipcheck/zipcheck.ashx?{zipcode}
where
{zipcode}
contains one or more digits.
The service returns either:
- http://amundsen.com/examples/zipcheck/zipcheck.ashx?90210 returns
- http://amundsen.com/examples/zipcheck/zipcheck.ashx?9021X returns
- Valid (
200 OK
) responses contain a caching header good for three hours: (Cache-Control : "public,max-age=108000"
) - ZIPCheck is a read-only service and only supports HTTP GET calls.