diff --git a/readme.md b/readme.md index 88b7ffd..f23d9a7 100644 --- a/readme.md +++ b/readme.md @@ -51,3 +51,34 @@ php artisan module:seed Auth ## Uninstall Packages If you uninstall a package from composer.json the module WILL be removed from the modules directory. + +# List & API Usage Example +Don't forget to add ``` Accept : application/json ``` on header every API Request + +## Register +``` +POST /api/register +``` + +``` +{ + "name" : "Demo", + "email" : "demo@demo.com", + "password" : "demo" + "passowrd_confirmation" : "demo" +} +``` + + +## Login +``` +POST /api/login +``` + +``` +{ + "email" : "demo@demo.com", + "password" : "demo" +} +``` +