Sin descripción

Joe Ceresini 4614a24c28 Make the flask app a python package hace 7 años
bash bf66cabe29 Reorganizing hace 7 años
python 4614a24c28 Make the flask app a python package hace 7 años
README.md 68638d1a8e Oops, those weren't backticks. I should really amend my previous commits hace 7 años

README.md

Some tests building a simple API that determines whether an input string contains every lower-case character in the latin alphabet

Bash version

Sample output

# Sample string with all alphabet characters
[jceresini@slartibartfast ~]$ curl -X POST -d 'The quick brown fox jumps over the lazy dog' http://test.ceresini.com/contains_all_chars.sh

{"error": null, "result": true}

# Sample string that doesn't contain all alphabet characters
[jceresini@slartibartfast ~]$ curl -X POST -d 'This string does not contain many letters of the alphabet' http://test.ceresini.com/contains_all_chars.sh

{"error": null, "result": false}

# Hitting API endpoint with GET method
[jceresini@slartibartfast ~]$ curl http://test.ceresini.com/contains_all_chars.sh

{"error": "Invalid http method", "result": null}