The Wayback Machine - https://web.archive.org/web/20200910212045/https://github.com/BaseMax/SampleCaptchaAPI
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 

README.md

Thin Captcha

Sample Captcha API

Implementing a captcha service using PHP and javascript to can use it anywhere such as Web.

Using

We did create one example project in example/ directory.

sample captchca api

Create captcha

Every requests need token and key value in Headers.

http://localhost/matno3/?method=create

{
	status: "success",
	message: "",
	result: {
		code: "klk8gab4tkcmemvk1dj7tzsskh4xw3rf2153l1he9l92o9bgfa"
	}
}

Verify a captcha

http://localhost/matno3/?method=verify&value=707&code=klk8gab4tkcmemvk1dj7tzsskh4xw3rf2153l1he9l92o9bgfa

{
	status: "failed",
	message: "Your session is not valid!"
}

http://localhost/matno3/?method=verify&value=7636&code=klk8gab4tkcmemvk1dj7tzsskh4xw3rf2153l1he9l92o9bgfa

{
	status: "success",
	message: "You are wellcome!",
	result: {
		token: "tglu9ph4mssfdvt5s8hal3rggcvdy9nfintbpsn829vhpq9lmc"
	}
}

Done captcha using server-side programming language

http://localhost/matno3/?method=done&token=badvalue

{
	status: "failed",
	message: "Your session is not valid!"
}

http://localhost/matno3/?method=done&token=tglu9ph4mssfdvt5s8hal3rggcvdy9nfintbpsn829vhpq9lmc

{
	status: "success",
	message: "Enjoy from it, Done!"
}

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

About

Implementing a captcha service using PHP and javascript to can use it anywhere such as Web.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.