3 ms·
That would be an easy API to implement, in psuedo-code: do: server->return any errors client->display errors client->ask user for account name
by grncdr 17y ago
That would be an easy API to implement, in psuedo-code:
do:
server->return any errors
client->display errors
client->ask user for account name
client->server->request account name x
while ( server->x is invalid account name )
<< Repeat above loop for password >>
do:
server->return new captcha
client->display captcha
client->take user input
client->server->send captcha text
while(server->captcha does not match)
server->return success message
- stuartjmoore 17y agoWeb browsers display CAPTCHAs every day with an API known as HTML.
- grncdr 17y agoAgreed. I can't justify a use case for CAPTCHAs outside the browser, I was just pointing out that such an API is very conceivable. As silentbicycle said, a CAPTCHA is for preventing scripting, so you would (hopefully) still need a human somewhere in the process.