Finnish SSN Validation API
A simple PHP API endpoint for validation Finnish SSNs.
PHP 5.X
Clone the repository
git clone https://github.com/throwaway-df/SSNValidator.git
OR
Download the repository as a .zip
and extract the validateSSN folder into the location of your choice on your web server.
Make GET or POST requests to http://location/validateSSN/
with a single ssn
parameter.
e.g. http://location/validateSSN/?ssn=010101A1234
If you've made a successful request the response will either true
to indicate a valid Finnish SSN or false
to indicate an invalid SSN.