There has been a lot of code refactoring on the endpoints, especially the index.php endpoint which has been transformed into a class, then split up into multiple classes, and then the various classes have been moved to their own files. This should make for much more readable and maintainable code. Hopefully.
Fixes #14
enhancement: allow application/json content type in requests, with request parameters in JSON format in the body of the request
enhancement: better error messages and http status errors for unsupported content types or request methods
enhancement: support for IPV6 ip addresses
enhancement: support for "preferorigin" parameter in request, to allow for either GREEK or HEBREW based texts in Catholic versions where there are multiple texts
enhancement: add copyright holder, notes, canon, imprimatur info to metadata.php output
There has been a lot of code refactoring on the endpoints, especially the index.php endpoint which has been transformed into a class, then split up into multiple classes, and then the various classes have been moved to their own files. This should make for much more readable and maintainable code. Hopefully. Fixes #14