-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
286 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,286 @@ | ||
{ | ||
"info": { | ||
"name": "Laminas", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "user_register", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [ | ||
{ | ||
"key": "name", | ||
"value": "Usert Test", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "email", | ||
"value": "[email protected]", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "credential", | ||
"value": "1234asdf", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/register", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"register" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_login", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [ | ||
{ | ||
"key": "identity", | ||
"value": "user", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "credential", | ||
"value": "12345678", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/login", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"login" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_logout", | ||
"request": { | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctMDg4YzU5ajUxcWU4MXlkZSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MzE0NjEsImV4cCI6MTY0Nzk0MTA2MSwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.H9Iq5lceaUUdKNOb7GD2fh8-TX-O7DcZYtir_maFZAA", | ||
"type": "text" | ||
} | ||
], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [ | ||
{ | ||
"key": "all_session", | ||
"value": "1", | ||
"description": "0 or 1 for kill other seactions", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/logout", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"logout" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_profile", | ||
"request": { | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTcteXlsYmppcXA0YnVreTR1ZSIsInVpZCI6NywiaWF0IjoxNjQ2NzI0MzMyLCJleHAiOjE2NDc5MzM5MzIsInR5cGUiOiJhY2Nlc3MiLCJyb2xlcyI6WyJtZW1iZXIiXX0.xM817wGyw9nSLpngQiVFoQmJ3NYz0TsBI9UzmJErK-w", | ||
"type": "text" | ||
} | ||
], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/profile", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"profile" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_update", | ||
"request": { | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctdDdlYzN1Mmh0cno2NzNnOSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MjMyNjIsImV4cCI6MTY0NzkzMjg2MiwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.4s-eVUex-1rOOhoClhJbzKmujr48TFXZWR8QCdGe-ws", | ||
"type": "text" | ||
} | ||
], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVocHhjdWF4OGppa2dyZmEiLCJ1aWQiOiI3IiwiaWF0IjoxNjQ2NTYwNjc5LCJleHAiOjE2NDc3NzAyNzksInR5cGUiOiJhY2Nlc3MiLCJyb2xlcyI6WyJtZW1iZXIiXX0.G7IxFwbo26m1cb9lnZCVregLqIHAhe4wiE7ZA2EU4RE", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "email", | ||
"value": "[email protected]", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "name", | ||
"value": "User Test", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "identity", | ||
"value": "user", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/update", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"update" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_password", | ||
"request": { | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctdDdlYzN1Mmh0cno2NzNnOSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MjMyNjIsImV4cCI6MTY0NzkzMjg2MiwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.4s-eVUex-1rOOhoClhJbzKmujr48TFXZWR8QCdGe-ws", | ||
"type": "text" | ||
} | ||
], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [ | ||
{ | ||
"key": "current_credential", | ||
"value": "321321321", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "new_credential", | ||
"value": "12345678", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/password", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"password" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "user_refresh_token", | ||
"request": { | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "token", | ||
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItcmVmcmVzaC03LW03Y2Fzbm1sM2oxc2s2emYiLCJ1aWQiOiI3IiwiaWF0IjoxNjQ2NzI4MDU0LCJleHAiOjE2NTQ1MDQwNTQsInR5cGUiOiJyZWZyZXNoIn0.GU8BOh4y7LRPGLTtIw5ZGcH54ScRqbPdvOeC2ZIlHMo", | ||
"type": "text" | ||
} | ||
], | ||
"body": { | ||
"mode": "urlencoded", | ||
"urlencoded": [] | ||
}, | ||
"url": { | ||
"raw": "http://localhost/local/laminas/public/user/refresh", | ||
"protocol": "http", | ||
"host": [ | ||
"localhost" | ||
], | ||
"path": [ | ||
"local", | ||
"laminas", | ||
"public", | ||
"user", | ||
"refresh" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
] | ||
} |