Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

🕵🏼 A microservice example for TCKN validate

License

Notifications You must be signed in to change notification settings

rebasesoftware/tckn-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCKN Validator Microservice

A microservice example for TCKN validation based on epigra/tckimlik works with Symfony HttpFoundation.

tckn-validate asciicast

Install

Simply, install dependencies with composer install then it's will be alive!

Example

# Start server
php -S localhost:8000

# Send request with cURL
curl \
  --verbose \
  --request POST \
  --header "Content-Type: application/json" \
  --data '{"identity":"11111111111", "name":"john", "surname": "doe", "birth": 1980}' \
  localhost:8000
  
# Or more simple request with HTTPie
http -v localhost:8000 identity=11111111111 name=john surname=doe birth=1980

Releases

No releases published

Packages

No packages published

Languages