Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.08 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.08 KB

ZIPCheck (C#/ASP.NET)

ZIPCheck is a small service that validates US Zip Code values.

Service and Client

Using the ZIPCheck Service

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:

  • 200 OK and a green check image true.png
  • 404 Not Found and a red X image false.png

Example Usage

Notes

  • 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.